src/script/api/qscriptengineagent_p.h
changeset 30 5dc02b23752f
parent 18 2f34d5167611
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
    73     {
    73     {
    74         q_ptr->scriptLoad(id,program, fileName, baseLineNumber);
    74         q_ptr->scriptLoad(id,program, fileName, baseLineNumber);
    75     };
    75     };
    76 
    76 
    77     //exceptions
    77     //exceptions
    78     virtual void exception(const JSC::DebuggerCallFrame& frame, intptr_t sourceID, int lineno)
    78     virtual void exception(const JSC::DebuggerCallFrame& frame, intptr_t sourceID, int lineno, bool hasHandler)
    79     {
    79     {
    80         Q_UNUSED(frame);
    80         Q_UNUSED(frame);
    81         Q_UNUSED(sourceID);
    81         Q_UNUSED(sourceID);
    82         Q_UNUSED(lineno);
    82         Q_UNUSED(lineno);
       
    83         Q_UNUSED(hasHandler);
    83     };
    84     };
    84     virtual void exceptionThrow(const JSC::DebuggerCallFrame& frame, intptr_t sourceID, bool hasHandler);
    85     virtual void exceptionThrow(const JSC::DebuggerCallFrame& frame, intptr_t sourceID, bool hasHandler);
    85     virtual void exceptionCatch(const JSC::DebuggerCallFrame& frame, intptr_t sourceID);
    86     virtual void exceptionCatch(const JSC::DebuggerCallFrame& frame, intptr_t sourceID);
    86 
    87 
    87     //statements
    88     //statements
    88     virtual void atStatement(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno, int column);
    89     virtual void atStatement(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno/*, int column*/);
    89     virtual void callEvent(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno)
    90     virtual void callEvent(const JSC::DebuggerCallFrame&, intptr_t sourceID, int lineno)
    90     {
    91     {
    91         Q_UNUSED(lineno);
    92         Q_UNUSED(lineno);
    92         q_ptr->contextPush();
    93         q_ptr->contextPush();
    93         q_ptr->functionEntry(sourceID);
    94         q_ptr->functionEntry(sourceID);
   105         Q_UNUSED(sourceID);   
   106         Q_UNUSED(sourceID);   
   106         Q_UNUSED(lineno);
   107         Q_UNUSED(lineno);
   107     };
   108     };
   108     virtual void functionExit(const JSC::JSValue& returnValue, intptr_t sourceID);
   109     virtual void functionExit(const JSC::JSValue& returnValue, intptr_t sourceID);
   109     //others
   110     //others
   110     virtual void didReachBreakpoint(const JSC::DebuggerCallFrame& frame, intptr_t sourceID, int lineno, int column);
   111     virtual void didReachBreakpoint(const JSC::DebuggerCallFrame& frame, intptr_t sourceID, int lineno/*, int column*/);
   111 
   112 
   112     virtual void evaluateStart(intptr_t sourceID)
   113     virtual void evaluateStart(intptr_t sourceID)
   113     {
   114     {
   114         q_ptr->functionEntry(sourceID);
   115         q_ptr->functionEntry(sourceID);
   115     }
   116     }