24 #ifndef QSCRIPTENGINEAGENT_P_H 25 #define QSCRIPTENGINEAGENT_P_H 38 #include <QtCore/qobjectdefs.h> 42 #include "CallFrame.h" 43 #include "SourceCode.h" 45 #include "DebuggerCallFrame.h" 66 virtual void sourceParsed(JSC::ExecState*,
const JSC::SourceCode&,
int ,
const JSC::UString& ) {}
69 q_ptr->scriptUnload(
id);
72 const JSC::UString &
fileName,
int baseLineNumber)
74 q_ptr->scriptLoad(
id,program, fileName, baseLineNumber);
78 virtual void exception(
const JSC::DebuggerCallFrame& frame,
intptr_t sourceID,
int lineno,
bool hasHandler)
85 virtual void exceptionThrow(
const JSC::DebuggerCallFrame& frame,
intptr_t sourceID,
bool hasHandler);
86 virtual void exceptionCatch(
const JSC::DebuggerCallFrame& frame,
intptr_t sourceID);
89 virtual void atStatement(
const JSC::DebuggerCallFrame&,
intptr_t sourceID,
int lineno);
94 q_ptr->functionEntry(sourceID);
96 virtual void returnEvent(
const JSC::DebuggerCallFrame& frame,
intptr_t sourceID,
int lineno);
109 virtual void functionExit(
const JSC::JSValue& returnValue,
intptr_t sourceID);
111 virtual void didReachBreakpoint(
const JSC::DebuggerCallFrame& frame,
intptr_t sourceID,
int lineno);
115 q_ptr->functionEntry(sourceID);
117 virtual void evaluateStop(
const JSC::JSValue& returnValue,
intptr_t sourceID);
virtual void callEvent(const JSC::DebuggerCallFrame &, intptr_t sourceID, int lineno)
#define QT_END_NAMESPACE
This macro expands to.
virtual void exception(const JSC::DebuggerCallFrame &frame, intptr_t sourceID, int lineno, bool hasHandler)
QScriptEngineAgent * q_ptr
virtual void sourceParsed(JSC::ExecState *, const JSC::SourceCode &, int, const JSC::UString &)
virtual ~QScriptEngineAgentPrivate()
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void scriptUnload(qint64 id)
virtual void scriptLoad(qint64 id, const JSC::UString &program, const JSC::UString &fileName, int baseLineNumber)
virtual void didExecuteProgram(const JSC::DebuggerCallFrame &frame, intptr_t sourceID, int lineno)
#define Q_DECLARE_PUBLIC(Class)
QScriptEnginePrivate * engine
virtual void willExecuteProgram(const JSC::DebuggerCallFrame &frame, intptr_t sourceID, int lineno)
QScriptEngineAgentPrivate()
virtual void evaluateStart(intptr_t sourceID)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
static QString fileName(const QString &fileUrl)
The QScriptEngineAgent class provides an interface to report events pertaining to QScriptEngine execu...