Commit f8d96f09 authored by hjk's avatar hjk
Browse files

debugger: rename startDebugger() to startEngine()

parent 3145b270
...@@ -374,7 +374,7 @@ void CdbDebugEngine::startupChecks() ...@@ -374,7 +374,7 @@ void CdbDebugEngine::startupChecks()
syncDebuggerPaths(); syncDebuggerPaths();
} }
void CdbDebugEngine::startDebugger() void CdbDebugEngine::startEngine()
{ {
QTC_ASSERT(state() == EngineStarting, qDebug() << state()); QTC_ASSERT(state() == EngineStarting, qDebug() << state());
const DebuggerStartParameters &sp = startParameters(); const DebuggerStartParameters &sp = startParameters();
......
...@@ -58,7 +58,7 @@ public: ...@@ -58,7 +58,7 @@ public:
virtual void shutdown(); virtual void shutdown();
virtual void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos); virtual void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos);
virtual void startDebugger(); virtual void startEngine();
virtual void exitDebugger(); virtual void exitDebugger();
virtual void detachDebugger(); virtual void detachDebugger();
virtual void updateWatchData(const WatchData &data); virtual void updateWatchData(const WatchData &data);
......
...@@ -636,7 +636,7 @@ void DebuggerEngine::startDebugger(DebuggerRunControl *runControl) ...@@ -636,7 +636,7 @@ void DebuggerEngine::startDebugger(DebuggerRunControl *runControl)
->setEnabled(engineCapabilities & DisassemblerCapability); ->setEnabled(engineCapabilities & DisassemblerCapability);
setState(EngineStarting); setState(EngineStarting);
startDebugger(); startEngine();
} }
void DebuggerEngine::breakByFunctionMain() void DebuggerEngine::breakByFunctionMain()
......
...@@ -126,7 +126,7 @@ public: ...@@ -126,7 +126,7 @@ public:
TextEditor::ITextEditor * /* editor */, int /* cursorPos */) { } TextEditor::ITextEditor * /* editor */, int /* cursorPos */) { }
void initializeFromTemplate(DebuggerEngine *other); void initializeFromTemplate(DebuggerEngine *other);
void startDebugger(DebuggerRunControl *runControl); void startDebugger(DebuggerRunControl *runControl);
virtual void startDebugger() {} virtual void startEngine() {}
virtual void exitDebugger() {} virtual void exitDebugger() {}
virtual void detachDebugger() {} virtual void detachDebugger() {}
virtual void updateWatchData(const WatchData & /* data */) { } virtual void updateWatchData(const WatchData & /* data */) { }
......
...@@ -1759,7 +1759,7 @@ AbstractGdbAdapter *GdbEngine::createAdapter() ...@@ -1759,7 +1759,7 @@ AbstractGdbAdapter *GdbEngine::createAdapter()
} }
} }
void GdbEngine::startDebugger() void GdbEngine::startEngine()
{ {
//qDebug() << "GDB START DEBUGGER"; //qDebug() << "GDB START DEBUGGER";
QTC_ASSERT(state() == EngineStarting, qDebug() << state()); QTC_ASSERT(state() == EngineStarting, qDebug() << state());
......
...@@ -105,7 +105,7 @@ private: ...@@ -105,7 +105,7 @@ private:
private: ////////// General Interface ////////// private: ////////// General Interface //////////
virtual void startDebugger(); virtual void startEngine();
virtual unsigned debuggerCapabilities() const; virtual unsigned debuggerCapabilities() const;
virtual void exitDebugger(); virtual void exitDebugger();
virtual void quitDebugger(); virtual void quitDebugger();
......
...@@ -138,7 +138,7 @@ void PdbEngine::exitDebugger() ...@@ -138,7 +138,7 @@ void PdbEngine::exitDebugger()
setState(DebuggerNotReady); setState(DebuggerNotReady);
} }
void PdbEngine::startDebugger() void PdbEngine::startEngine()
{ {
QTC_ASSERT(state() == EngineStarting, qDebug() << state()); QTC_ASSERT(state() == EngineStarting, qDebug() << state());
......
...@@ -72,7 +72,7 @@ private: ...@@ -72,7 +72,7 @@ private:
void shutdown(); void shutdown();
void setToolTipExpression(const QPoint &mousePos, void setToolTipExpression(const QPoint &mousePos,
TextEditor::ITextEditor *editor, int cursorPos); TextEditor::ITextEditor *editor, int cursorPos);
void startDebugger(); void startEngine();
void exitDebugger(); void exitDebugger();
......
...@@ -226,7 +226,7 @@ void QmlEngine::exitDebugger() ...@@ -226,7 +226,7 @@ void QmlEngine::exitDebugger()
const int serverPort = 3768; const int serverPort = 3768;
void QmlEngine::startDebugger() void QmlEngine::startEngine()
{ {
QTC_ASSERT(state() == EngineStarting, qDebug() << state()); QTC_ASSERT(state() == EngineStarting, qDebug() << state());
const DebuggerStartParameters &sp = startParameters(); const DebuggerStartParameters &sp = startParameters();
......
...@@ -88,7 +88,7 @@ private: ...@@ -88,7 +88,7 @@ private:
void shutdown(); void shutdown();
void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos); void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos);
void startDebugger(); void startEngine();
void exitDebugger(); void exitDebugger();
void continueInferior(); void continueInferior();
......
...@@ -229,7 +229,7 @@ void ScriptEngine::exitDebugger() ...@@ -229,7 +229,7 @@ void ScriptEngine::exitDebugger()
setState(DebuggerNotReady); setState(DebuggerNotReady);
} }
void ScriptEngine::startDebugger() void ScriptEngine::startEngine()
{ {
QTC_ASSERT(state() == EngineStarting, qDebug() << state()); QTC_ASSERT(state() == EngineStarting, qDebug() << state());
showMessage(_("STARTING SCRIPT DEBUGGER"), LogMisc); showMessage(_("STARTING SCRIPT DEBUGGER"), LogMisc);
......
...@@ -71,7 +71,7 @@ private: ...@@ -71,7 +71,7 @@ private:
void shutdown(); void shutdown();
void setToolTipExpression(const QPoint &mousePos, void setToolTipExpression(const QPoint &mousePos,
TextEditor::ITextEditor *editor, int cursorPos); TextEditor::ITextEditor *editor, int cursorPos);
void startDebugger(); void startEngine();
void exitDebugger(); void exitDebugger();
void continueInferior(); void continueInferior();
......
...@@ -200,7 +200,7 @@ void TcfEngine::exitDebugger() ...@@ -200,7 +200,7 @@ void TcfEngine::exitDebugger()
SDEBUG("TcfEngine::exitDebugger()"); SDEBUG("TcfEngine::exitDebugger()");
} }
void TcfEngine::startDebugger() void TcfEngine::startEngine()
{ {
QTC_ASSERT(state() == EngineStarting, qDebug() << state()); QTC_ASSERT(state() == EngineStarting, qDebug() << state());
setState(InferiorRunningRequested); setState(InferiorRunningRequested);
......
...@@ -74,7 +74,7 @@ private: ...@@ -74,7 +74,7 @@ private:
void shutdown(); void shutdown();
void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos); void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos);
void startDebugger(); void startEngine();
void exitDebugger(); void exitDebugger();
void continueInferior(); void continueInferior();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment