42 #ifndef QSCRIPTDEBUGGERAGENT_P_H 43 #define QSCRIPTDEBUGGERAGENT_P_H 56 #include <QtScript/qscriptengineagent.h> 58 #include <QtCore/qpair.h> 75 void enterStepIntoMode(
int count = 1);
76 void enterStepOverMode(
int count = 1);
77 void enterStepOutMode();
78 void enterContinueMode();
79 void enterInterruptMode();
81 void enterRunToLocationMode(
qint64 scriptId,
int lineNumber);
82 void enterReturnByForceMode(
int contextIndex,
const QScriptValue &value);
85 bool deleteBreakpoint(
int id);
86 void deleteAllBreakpoints();
93 void scriptsCheckpoint();
100 void nullifyBackendPointer();
104 const QString &fileName,
int baseLineNumber);
115 int lineNumber,
int columnNumber);
The QVariant class acts like a union for the most common Qt data types.
virtual void scriptUnload(qint64 id)
This function is called when the engine has discarded the script identified by the given id...
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QString class provides a Unicode character string.
virtual void exceptionThrow(qint64 scriptId, const QScriptValue &exception, bool hasHandler)
This function is called when the given exception has occurred in the engine, in the script identified...
virtual void scriptLoad(qint64 id, const QString &program, const QString &fileName, int baseLineNumber)
This function is called when the engine has parsed a script and has associated it with the given id...
The QScriptScriptData class holds data associated with a script.
The QScriptEngine class provides an environment for evaluating Qt Script code.
This class implements a state machine that uses the low-level events reported by the QScriptEngineAge...
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual QVariant extension(Extension extension, const QVariant &argument=QVariant())
This virtual function can be reimplemented in a QScriptEngineAgent subclass to provide support for ex...
virtual void exceptionCatch(qint64 scriptId, const QScriptValue &exception)
This function is called when the given exception is about to be caught, in the script identified by s...
QScriptDebuggerAgentPrivate * d_ptr
static const char * data(const QByteArray &arr)
The QScriptBreakpointData class contains data associated with a breakpoint.
virtual bool supportsExtension(Extension extension) const
Returns true if the QScriptEngineAgent supports the given extension; otherwise, false is returned...
virtual void functionEntry(qint64 scriptId)
This function is called when a script function is called in the engine.
virtual void contextPop()
This function is called when the current script context is about to be popped.
#define Q_AUTOTEST_EXPORT
virtual void positionChange(qint64 scriptId, int lineNumber, int columnNumber)
This function is called when the engine is about to execute a new statement in the script identified ...
virtual void contextPush()
This function is called when a new script context has been pushed.
#define Q_DECLARE_PRIVATE(Class)
Extension
This enum specifies the possible extensions to a QScriptEngineAgent.
The QScriptValue class acts as a container for the Qt Script data types.
virtual void functionExit(qint64 scriptId, const QScriptValue &returnValue)
This function is called when the currently executing script function is about to return.
static QString fileName(const QString &fileUrl)
The QScriptEngineAgent class provides an interface to report events pertaining to QScriptEngine execu...