Qt 4.8
|
Public Functions | |
void | processCommand (int id, const QScriptDebuggerCommand &command) |
QScriptEngineDebuggerBackend (QScriptEngineDebuggerFrontendPrivate *frontend) | |
Creates a new QScriptEngineDebuggerBackend object for the given engine. More... | |
void | resume () |
Reimplemented Function More... | |
~QScriptEngineDebuggerBackend () | |
Public Functions inherited from QScriptDebuggerBackend | |
QScriptValue | assertFunction () const |
void | attachTo (QScriptEngine *engine) |
Attaches this backend to the given engine. More... | |
QStringList | backtrace () const |
Returns a backtrace of the current execution. More... | |
QScriptBreakpointData | breakpointData (int id) const |
Returns the data associated with the breakpoint identified by the given id. More... | |
QScriptBreakpointMap | breakpoints () const |
Returns this backend's breakpoints. More... | |
QScriptDebuggerCommandExecutor * | commandExecutor () const |
QScriptContext * | context (int index) const |
Returns the context for the frame with the given index. More... | |
int | contextCount () const |
Returns the number of contexts (frames). More... | |
QList< qint64 > | contextIds () const |
QScriptContextsDelta | contextsCheckpoint () |
void | continueEvalution () |
Continues script evaluation. More... | |
void | deleteAllBreakpoints () |
Deletes all breakpoints. More... | |
bool | deleteBreakpoint (int id) |
Deletes the breakpoint identified by the given id. More... | |
void | deleteScriptObjectSnapshot (int id) |
void | deleteScriptValueIterator (int id) |
void | detach () |
Detaches this backend from the current script engine. More... | |
void | doPendingEvaluate (bool postEvent) |
Executes the pending evaluate, if any. More... | |
QScriptEngine * | engine () const |
Returns the script engine that this backend is attached to, or 0 if the backend is not attached to an engine. More... | |
void | evaluate (int contextIndex, const QString &program, const QString &fileName, int lineNumber) |
Evaluates the given program. More... | |
QScriptValue | fileNameFunction () const |
bool | ignoreExceptions () const |
void | interruptEvaluation () |
Interrupts script evaluation. More... | |
QScriptValue | lineNumberFunction () const |
int | newScriptObjectSnapshot () |
int | newScriptValueIterator (const QScriptValue &object) |
QScriptDebuggerBackend () | |
Creates a QScriptDebuggerBackend object. More... | |
qint64 | resolveScript (const QString &fileName) const |
void | returnToCaller (int contextIndex, const QScriptValue &value) |
void | runToLocation (const QString &fileName, int lineNumber) |
Continues evaluation until the location defined by the given fileName and lineNumber is reached. More... | |
void | runToLocation (qint64 scriptId, int lineNumber) |
Continues evaluation until the location defined by the given scriptId and lineNumber is reached. More... | |
QScriptScriptData | scriptData (qint64 id) const |
Returns the data for the script identified by the given id. More... | |
QScriptObjectSnapshot * | scriptObjectSnapshot (int id) const |
QScriptScriptMap | scripts () const |
Returns the scripts that this backend knows about. More... | |
void | scriptsCheckpoint () |
Makes a checkpoint of the currently loaded scripts. More... | |
QScriptScriptsDelta | scriptsDelta () const |
Returns the difference between the latest scripts checkpoint and the previous checkpoint. More... | |
QScriptValueIterator * | scriptValueIterator (int id) const |
int | setBreakpoint (const QScriptBreakpointData &data) |
Sets a breakpoint defined by the given data, and returns a unique identifier for the new breakpoint. More... | |
bool | setBreakpointData (int id, const QScriptBreakpointData &data) |
Sets the data associated with the breakpoint identified by the given id. More... | |
void | setCommandExecutor (QScriptDebuggerCommandExecutor *executor) |
void | setIgnoreExceptions (bool ignore) |
void | stepInto (int count=1) |
Steps into the next script statement. More... | |
void | stepOut () |
Steps out of the current script function. More... | |
void | stepOver (int count=1) |
Steps over the next script statement. More... | |
QScriptValue | traceFunction () const |
Returns a trace function. More... | |
virtual | ~QScriptDebuggerBackend () |
Destroys this QScriptDebuggerBackend. More... | |
Protected Functions | |
void | event (const QScriptDebuggerEvent &event) |
Reimplemented Function More... | |
Protected Functions inherited from QScriptDebuggerBackend | |
QScriptDebuggerBackend (QScriptDebuggerBackendPrivate &dd) | |
Additional Inherited Members | |
Protected Variables inherited from QScriptDebuggerBackend | |
QScopedPointer< QScriptDebuggerBackendPrivate > | d_ptr |
Definition at line 104 of file qscriptenginedebuggerfrontend.cpp.
QScriptEngineDebuggerBackend::QScriptEngineDebuggerBackend | ( | QScriptEngineDebuggerFrontendPrivate * | frontend | ) |
Creates a new QScriptEngineDebuggerBackend object for the given engine.
The back-end will forward events to the given frontend.
Definition at line 195 of file qscriptenginedebuggerfrontend.cpp.
QScriptEngineDebuggerBackend::~QScriptEngineDebuggerBackend | ( | ) |
Definition at line 203 of file qscriptenginedebuggerfrontend.cpp.
|
protectedvirtual |
Reimplemented Function
Implements QScriptDebuggerBackend.
Definition at line 216 of file qscriptenginedebuggerfrontend.cpp.
void QScriptEngineDebuggerBackend::processCommand | ( | int | id, |
const QScriptDebuggerCommand & | command | ||
) |
Definition at line 207 of file qscriptenginedebuggerfrontend.cpp.
|
virtual |
Reimplemented Function
Implements QScriptDebuggerBackend.
Definition at line 243 of file qscriptenginedebuggerfrontend.cpp.