Qt 4.8
|
#include <qscriptdebuggercommandschedulerfrontend_p.h>
Public Functions | |
QScriptDebuggerCommandSchedulerFrontend (QScriptDebuggerCommandSchedulerInterface *scheduler, QScriptDebuggerResponseHandlerInterface *responseHandler) | |
int | scheduleClearExceptions () |
int | scheduleContextsCheckpoint () |
int | scheduleContinue () |
Instructs the front-end to continue evaluation, and returns a unique identifier associated with this command. More... | |
int | scheduleDeleteAllBreakpoints () |
int | scheduleDeleteBreakpoint (int id) |
int | scheduleDeleteScriptObjectSnapshot (int id) |
int | scheduleDeleteScriptValueIterator (int id) |
int | scheduleEvaluate (int contextIndex, const QString &program, const QString &fileName=QString(), int lineNumber=1) |
int | scheduleForceReturn (int contextIndex, const QScriptDebuggerValue &value) |
int | scheduleGetActivationObject (int contextIndex) |
int | scheduleGetBacktrace () |
int | scheduleGetBreakpointData (int id) |
int | scheduleGetBreakpoints () |
int | scheduleGetCompletions (int contextIndex, const QStringList &path) |
int | scheduleGetContextCount () |
int | scheduleGetContextId (int contextIndex) |
int | scheduleGetContextInfo (int contextIndex) |
int | scheduleGetContextState (int contextIndex) |
int | scheduleGetPropertiesByIterator (int id, int count) |
int | scheduleGetPropertyExpressionValue (int contextIndex, int lineNumber, const QStringList &path) |
int | scheduleGetScopeChain (int contextIndex) |
int | scheduleGetScriptData (qint64 id) |
int | scheduleGetScripts () |
int | scheduleGetScriptsDelta () |
int | scheduleGetThisObject (int contextIndex) |
int | scheduleInterrupt () |
Instructs the front-end to break at the next script statement, and returns a unique identifier associated with this command. More... | |
int | scheduleNewScriptObjectSnapshot () |
int | scheduleNewScriptValueIterator (const QScriptDebuggerValue &object) |
int | scheduleResolveScript (const QString &fileName) |
int | scheduleRunToLocation (const QString &fileName, int lineNumber) |
Instructs the front-end to continue evaluation until the location specified by the given fileName and lineNumber is reached. More... | |
int | scheduleRunToLocation (qint64 scriptId, int lineNumber) |
Instructs the front-end to continue evaluation until the location specified by the given scriptId and lineNumber is reached. More... | |
int | scheduleScriptObjectSnapshotCapture (int id, const QScriptDebuggerValue &object) |
int | scheduleScriptsCheckpoint () |
int | scheduleScriptValueToString (const QScriptDebuggerValue &value) |
int | scheduleSetBreakpoint (const QString &fileName, int lineNumber) |
int | scheduleSetBreakpoint (const QScriptBreakpointData &data) |
int | scheduleSetBreakpointData (int id, const QScriptBreakpointData &data) |
int | scheduleSetScriptValueProperty (const QScriptDebuggerValue &object, const QString &name, const QScriptDebuggerValue &value) |
int | scheduleStepInto (int count=1) |
Instructs the front-end to step into the next script statement, and returns a unique identifier associated with this command. More... | |
int | scheduleStepOut () |
Instructs the front-end to step out of the current script function, and returns a unique identifier associated with this command. More... | |
int | scheduleStepOver (int count=1) |
Instructs the front-end to step over the next script statement, and returns a unique identifier associated with this command. More... | |
~QScriptDebuggerCommandSchedulerFrontend () | |
Private Functions | |
int | scheduleCommand (const QScriptDebuggerCommand &command) |
Properties | |
QScriptDebuggerResponseHandlerInterface * | m_responseHandler |
QScriptDebuggerCommandSchedulerInterface * | m_scheduler |
Definition at line 68 of file qscriptdebuggercommandschedulerfrontend_p.h.
QScriptDebuggerCommandSchedulerFrontend::QScriptDebuggerCommandSchedulerFrontend | ( | QScriptDebuggerCommandSchedulerInterface * | scheduler, |
QScriptDebuggerResponseHandlerInterface * | responseHandler | ||
) |
Definition at line 48 of file qscriptdebuggercommandschedulerfrontend.cpp.
QScriptDebuggerCommandSchedulerFrontend::~QScriptDebuggerCommandSchedulerFrontend | ( | ) |
Definition at line 55 of file qscriptdebuggercommandschedulerfrontend.cpp.
int QScriptDebuggerCommandSchedulerFrontend::scheduleClearExceptions | ( | ) |
Definition at line 300 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleClearExceptions().
|
private |
Definition at line 59 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by scheduleClearExceptions(), scheduleContextsCheckpoint(), scheduleContinue(), scheduleDeleteAllBreakpoints(), scheduleDeleteBreakpoint(), scheduleDeleteScriptObjectSnapshot(), scheduleDeleteScriptValueIterator(), scheduleEvaluate(), scheduleForceReturn(), scheduleGetActivationObject(), scheduleGetBacktrace(), scheduleGetBreakpointData(), scheduleGetBreakpoints(), scheduleGetCompletions(), scheduleGetContextCount(), scheduleGetContextId(), scheduleGetContextInfo(), scheduleGetContextState(), scheduleGetPropertiesByIterator(), scheduleGetPropertyExpressionValue(), scheduleGetScopeChain(), scheduleGetScriptData(), scheduleGetScripts(), scheduleGetScriptsDelta(), scheduleGetThisObject(), scheduleInterrupt(), scheduleNewScriptObjectSnapshot(), scheduleNewScriptValueIterator(), scheduleResolveScript(), scheduleRunToLocation(), scheduleScriptObjectSnapshotCapture(), scheduleScriptsCheckpoint(), scheduleScriptValueToString(), scheduleSetBreakpoint(), scheduleSetBreakpointData(), scheduleSetScriptValueProperty(), scheduleStepInto(), scheduleStepOut(), and scheduleStepOver().
int QScriptDebuggerCommandSchedulerFrontend::scheduleContextsCheckpoint | ( | ) |
Definition at line 249 of file qscriptdebuggercommandschedulerfrontend.cpp.
int QScriptDebuggerCommandSchedulerFrontend::scheduleContinue | ( | ) |
Instructs the front-end to continue evaluation, and returns a unique identifier associated with this command.
Definition at line 84 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleContinue().
int QScriptDebuggerCommandSchedulerFrontend::scheduleDeleteAllBreakpoints | ( | ) |
Definition at line 164 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleDeleteAllBreakpoints().
int QScriptDebuggerCommandSchedulerFrontend::scheduleDeleteBreakpoint | ( | int | id | ) |
Definition at line 159 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleDeleteBreakpoint(), and QScriptBreakpointsModel::setBreakpointData().
int QScriptDebuggerCommandSchedulerFrontend::scheduleDeleteScriptObjectSnapshot | ( | int | id | ) |
Definition at line 315 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerLocalsModelPrivate::deleteObjectSnapshots().
int QScriptDebuggerCommandSchedulerFrontend::scheduleDeleteScriptValueIterator | ( | int | id | ) |
Definition at line 283 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleDeleteScriptValueIterator().
int QScriptDebuggerCommandSchedulerFrontend::scheduleEvaluate | ( | int | contextIndex, |
const QString & | program, | ||
const QString & | fileName = QString() , |
||
int | lineNumber = 1 |
||
) |
Definition at line 265 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerLocalsModelPrivate::get(), and QScriptDebuggerConsoleGlobalObject::scheduleEvaluate().
int QScriptDebuggerCommandSchedulerFrontend::scheduleForceReturn | ( | int | contextIndex, |
const QScriptDebuggerValue & | value | ||
) |
Definition at line 144 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerPrivate::debuggerEvent(), and QScriptDebuggerConsoleGlobalObject::scheduleForceReturn().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetActivationObject | ( | int | contextIndex | ) |
Definition at line 239 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetActivationObject().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetBacktrace | ( | ) |
Definition at line 209 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetBacktrace().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetBreakpointData | ( | int | id | ) |
Definition at line 174 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetBreakpointData().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetBreakpoints | ( | ) |
Definition at line 169 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetBreakpoints().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetCompletions | ( | int | contextIndex, |
const QStringList & | path | ||
) |
Definition at line 260 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptCompleteExpressionJob::start().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetContextCount | ( | ) |
Definition at line 214 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetContextCount().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetContextId | ( | int | contextIndex | ) |
Definition at line 229 of file qscriptdebuggercommandschedulerfrontend.cpp.
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetContextInfo | ( | int | contextIndex | ) |
Definition at line 224 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerPrivate::createLocalsModel(), and QScriptDebuggerConsoleGlobalObject::scheduleGetContextInfo().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetContextState | ( | int | contextIndex | ) |
Definition at line 219 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerPrivate::createLocalsModel().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetPropertiesByIterator | ( | int | id, |
int | count | ||
) |
Definition at line 278 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetPropertiesByIterator().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetPropertyExpressionValue | ( | int | contextIndex, |
int | lineNumber, | ||
const QStringList & | path | ||
) |
Definition at line 254 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptToolTipJob::start().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetScopeChain | ( | int | contextIndex | ) |
Definition at line 244 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerLocalsModelPrivate::addTopLevelObject(), and QScriptDebuggerLocalsModel::init().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetScriptData | ( | qint64 | id | ) |
Definition at line 189 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetScriptData(), and QScriptDebuggerShowLineJob::start().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetScripts | ( | ) |
Definition at line 184 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetScripts(), and QScriptCompleteScriptsJob::start().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetScriptsDelta | ( | ) |
Definition at line 199 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleGetScriptsDelta().
int QScriptDebuggerCommandSchedulerFrontend::scheduleGetThisObject | ( | int | contextIndex | ) |
Definition at line 234 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerLocalsModelPrivate::addTopLevelObject(), QScriptDebuggerLocalsModel::init(), and QScriptDebuggerConsoleGlobalObject::scheduleGetThisObject().
int QScriptDebuggerCommandSchedulerFrontend::scheduleInterrupt | ( | ) |
Instructs the front-end to break at the next script statement, and returns a unique identifier associated with this command.
When the next script statement is encountered, the client will be notified, and the front-end will be ready to accept commands.
Definition at line 73 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleInterrupt().
int QScriptDebuggerCommandSchedulerFrontend::scheduleNewScriptObjectSnapshot | ( | ) |
Definition at line 305 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerLocalsModelPrivate::isTopLevelNode().
int QScriptDebuggerCommandSchedulerFrontend::scheduleNewScriptValueIterator | ( | const QScriptDebuggerValue & | object | ) |
Definition at line 273 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleNewScriptValueIterator().
int QScriptDebuggerCommandSchedulerFrontend::scheduleResolveScript | ( | const QString & | fileName | ) |
Definition at line 204 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleResolveScript().
int QScriptDebuggerCommandSchedulerFrontend::scheduleRunToLocation | ( | const QString & | fileName, |
int | lineNumber | ||
) |
Instructs the front-end to continue evaluation until the location specified by the given fileName and lineNumber is reached.
Definition at line 130 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerPrivate::_q_runToCursor(), QScriptDebuggerPrivate::_q_runToNewScript(), and QScriptDebuggerConsoleGlobalObject::scheduleRunToLocation().
int QScriptDebuggerCommandSchedulerFrontend::scheduleRunToLocation | ( | qint64 | scriptId, |
int | lineNumber | ||
) |
Instructs the front-end to continue evaluation until the location specified by the given scriptId and lineNumber is reached.
Definition at line 139 of file qscriptdebuggercommandschedulerfrontend.cpp.
int QScriptDebuggerCommandSchedulerFrontend::scheduleScriptObjectSnapshotCapture | ( | int | id, |
const QScriptDebuggerValue & | object | ||
) |
Definition at line 310 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerLocalsModelPrivate::isTopLevelNode(), and QScriptDebuggerLocalsModel::sync().
int QScriptDebuggerCommandSchedulerFrontend::scheduleScriptsCheckpoint | ( | ) |
Definition at line 194 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleScriptsCheckpoint().
int QScriptDebuggerCommandSchedulerFrontend::scheduleScriptValueToString | ( | const QScriptDebuggerValue & | value | ) |
Definition at line 288 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleScriptValueToString().
int QScriptDebuggerCommandSchedulerFrontend::scheduleSetBreakpoint | ( | const QString & | fileName, |
int | lineNumber | ||
) |
Definition at line 149 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleSetBreakpoint(), and QScriptBreakpointsModel::~QScriptBreakpointsModel().
int QScriptDebuggerCommandSchedulerFrontend::scheduleSetBreakpoint | ( | const QScriptBreakpointData & | data | ) |
Definition at line 154 of file qscriptdebuggercommandschedulerfrontend.cpp.
int QScriptDebuggerCommandSchedulerFrontend::scheduleSetBreakpointData | ( | int | id, |
const QScriptBreakpointData & | data | ||
) |
Definition at line 179 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleSetBreakpointData(), and QScriptBreakpointsModel::setBreakpoint().
int QScriptDebuggerCommandSchedulerFrontend::scheduleSetScriptValueProperty | ( | const QScriptDebuggerValue & | object, |
const QString & | name, | ||
const QScriptDebuggerValue & | value | ||
) |
Definition at line 293 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerLocalsModelPrivate::get().
int QScriptDebuggerCommandSchedulerFrontend::scheduleStepInto | ( | int | count = 1 | ) |
Instructs the front-end to step into the next script statement, and returns a unique identifier associated with this command.
Evaluation will automatically be continued, and the client()'s event() function will be called when the statement has been stepped into.
Definition at line 96 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleStepInto().
int QScriptDebuggerCommandSchedulerFrontend::scheduleStepOut | ( | ) |
Instructs the front-end to step out of the current script function, and returns a unique identifier associated with this command.
Evaluation will automatically be continued, and the client()'s event() function will be called when the script function has been stepped out of.
Definition at line 121 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleStepOut().
int QScriptDebuggerCommandSchedulerFrontend::scheduleStepOver | ( | int | count = 1 | ) |
Instructs the front-end to step over the next script statement, and returns a unique identifier associated with this command.
Evaluation will automatically be continued, and the client()'s event() function will be called when the statement has been stepped over.
Definition at line 108 of file qscriptdebuggercommandschedulerfrontend.cpp.
Referenced by QScriptDebuggerConsoleGlobalObject::scheduleStepOver().
|
private |
Definition at line 141 of file qscriptdebuggercommandschedulerfrontend_p.h.
Referenced by scheduleCommand().
|
private |
Definition at line 140 of file qscriptdebuggercommandschedulerfrontend_p.h.
Referenced by scheduleCommand().