debugger: overhaul "state machine"

This mainly allows for more precise shutdown and tightens the set
of allowed transitions.
This commit is contained in:
hjk
2010-07-09 17:07:59 +02:00
parent 6089bc1b9e
commit e760700f0f
41 changed files with 1414 additions and 834 deletions

View File

@@ -68,13 +68,13 @@ private:
void executeStepI();
void executeNextI();
void shutdown();
void setToolTipExpression(const QPoint &mousePos,
TextEditor::ITextEditor *editor, int cursorPos);
void setupEngine();
void setupInferior();
void runEngine();
void exitDebugger();
void shutdownInferior();
void shutdownEngine();
void continueInferior();
void interruptInferior();
@@ -108,7 +108,7 @@ private:
private:
friend class ScriptAgent;
bool importExtensions();
void importExtensions();
QSharedPointer<QScriptEngine> m_scriptEngine;
QString m_scriptContents;