Qt 4.8
|
The QScriptEngineDebuggerFrontend class provides an in-process debugger frontend. More...
#include <qscriptenginedebuggerfrontend_p.h>
Public Functions | |
void | attachTo (QScriptEngine *engine) |
Attaches this front-end to the given engine. More... | |
QScriptDebuggerBackend * | backend () const |
void | detach () |
Detaches this front-end from the current script engine. More... | |
QScriptEngineDebuggerFrontend () | |
QScriptValue | traceFunction () const |
~QScriptEngineDebuggerFrontend () | |
Public Functions inherited from QScriptDebuggerFrontend | |
QScriptDebuggerEventHandlerInterface * | eventHandler () const |
QScriptDebuggerFrontend () | |
int | scheduleCommand (const QScriptDebuggerCommand &command, QScriptDebuggerResponseHandlerInterface *responseHandler) |
Schedules the given command for execution by this front-end, and returns a unique identifier associated with this command. More... | |
int | scheduledCommandCount () const |
void | setEventHandler (QScriptDebuggerEventHandlerInterface *eventHandler) |
virtual | ~QScriptDebuggerFrontend () |
Public Functions inherited from QScriptDebuggerCommandSchedulerInterface | |
virtual | ~QScriptDebuggerCommandSchedulerInterface () |
Protected Functions | |
void | processCommand (int id, const QScriptDebuggerCommand &command) |
Protected Functions inherited from QScriptDebuggerFrontend | |
void | notifyCommandFinished (int id, const QScriptDebuggerResponse &response) |
Subclasses should call this function when the command identified by the given id has finished and produced the given response. More... | |
bool | notifyEvent (const QScriptDebuggerEvent &event) |
Subclasses should call this function when the given event is received from the back-end. More... | |
QScriptDebuggerFrontend (QScriptDebuggerFrontendPrivate &dd) | |
Additional Inherited Members | |
Protected Variables inherited from QScriptDebuggerFrontend | |
QScopedPointer< QScriptDebuggerFrontendPrivate > | d_ptr |
The QScriptEngineDebuggerFrontend class provides an in-process debugger frontend.
This type of frontend is used when the QScriptEngine being debugged lives in the same process as the debugger.
Call the attachTo() function to attach to an engine.
Definition at line 65 of file qscriptenginedebuggerfrontend_p.h.
QScriptEngineDebuggerFrontend::QScriptEngineDebuggerFrontend | ( | ) |
Definition at line 284 of file qscriptenginedebuggerfrontend.cpp.
QScriptEngineDebuggerFrontend::~QScriptEngineDebuggerFrontend | ( | ) |
Definition at line 289 of file qscriptenginedebuggerfrontend.cpp.
void QScriptEngineDebuggerFrontend::attachTo | ( | QScriptEngine * | engine | ) |
Attaches this front-end to the given engine.
Definition at line 297 of file qscriptenginedebuggerfrontend.cpp.
QScriptDebuggerBackend * QScriptEngineDebuggerFrontend::backend | ( | ) | const |
Definition at line 325 of file qscriptenginedebuggerfrontend.cpp.
void QScriptEngineDebuggerFrontend::detach | ( | ) |
Detaches this front-end from the current script engine.
Definition at line 310 of file qscriptenginedebuggerfrontend.cpp.
Referenced by ~QScriptEngineDebuggerFrontend().
|
protectedvirtual |
Implements QScriptDebuggerFrontend.
Definition at line 334 of file qscriptenginedebuggerfrontend.cpp.
QScriptValue QScriptEngineDebuggerFrontend::traceFunction | ( | ) | const |
Definition at line 317 of file qscriptenginedebuggerfrontend.cpp.