Commit f8d96f09 authored by hjk's avatar hjk
Browse files

debugger: rename startDebugger() to startEngine()

parent 3145b270
......@@ -374,7 +374,7 @@ void CdbDebugEngine::startupChecks()
syncDebuggerPaths();
}
void CdbDebugEngine::startDebugger()
void CdbDebugEngine::startEngine()
{
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
const DebuggerStartParameters &sp = startParameters();
......
......@@ -58,7 +58,7 @@ public:
virtual void shutdown();
virtual void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos);
virtual void startDebugger();
virtual void startEngine();
virtual void exitDebugger();
virtual void detachDebugger();
virtual void updateWatchData(const WatchData &data);
......
......@@ -636,7 +636,7 @@ void DebuggerEngine::startDebugger(DebuggerRunControl *runControl)
->setEnabled(engineCapabilities & DisassemblerCapability);
setState(EngineStarting);
startDebugger();
startEngine();
}
void DebuggerEngine::breakByFunctionMain()
......
......@@ -126,7 +126,7 @@ public:
TextEditor::ITextEditor * /* editor */, int /* cursorPos */) { }
void initializeFromTemplate(DebuggerEngine *other);
void startDebugger(DebuggerRunControl *runControl);
virtual void startDebugger() {}
virtual void startEngine() {}
virtual void exitDebugger() {}
virtual void detachDebugger() {}
virtual void updateWatchData(const WatchData & /* data */) { }
......
......@@ -1759,7 +1759,7 @@ AbstractGdbAdapter *GdbEngine::createAdapter()
}
}
void GdbEngine::startDebugger()
void GdbEngine::startEngine()
{
//qDebug() << "GDB START DEBUGGER";
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
......
......@@ -105,7 +105,7 @@ private:
private: ////////// General Interface //////////
virtual void startDebugger();
virtual void startEngine();
virtual unsigned debuggerCapabilities() const;
virtual void exitDebugger();
virtual void quitDebugger();
......
......@@ -138,7 +138,7 @@ void PdbEngine::exitDebugger()
setState(DebuggerNotReady);
}
void PdbEngine::startDebugger()
void PdbEngine::startEngine()
{
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
......
......@@ -72,7 +72,7 @@ private:
void shutdown();
void setToolTipExpression(const QPoint &mousePos,
TextEditor::ITextEditor *editor, int cursorPos);
void startDebugger();
void startEngine();
void exitDebugger();
......
......@@ -226,7 +226,7 @@ void QmlEngine::exitDebugger()
const int serverPort = 3768;
void QmlEngine::startDebugger()
void QmlEngine::startEngine()
{
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
const DebuggerStartParameters &sp = startParameters();
......
......@@ -88,7 +88,7 @@ private:
void shutdown();
void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos);
void startDebugger();
void startEngine();
void exitDebugger();
void continueInferior();
......
......@@ -229,7 +229,7 @@ void ScriptEngine::exitDebugger()
setState(DebuggerNotReady);
}
void ScriptEngine::startDebugger()
void ScriptEngine::startEngine()
{
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
showMessage(_("STARTING SCRIPT DEBUGGER"), LogMisc);
......
......@@ -71,7 +71,7 @@ private:
void shutdown();
void setToolTipExpression(const QPoint &mousePos,
TextEditor::ITextEditor *editor, int cursorPos);
void startDebugger();
void startEngine();
void exitDebugger();
void continueInferior();
......
......@@ -200,7 +200,7 @@ void TcfEngine::exitDebugger()
SDEBUG("TcfEngine::exitDebugger()");
}
void TcfEngine::startDebugger()
void TcfEngine::startEngine()
{
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
setState(InferiorRunningRequested);
......
......@@ -74,7 +74,7 @@ private:
void shutdown();
void setToolTipExpression(const QPoint &mousePos, TextEditor::ITextEditor *editor, int cursorPos);
void startDebugger();
void startEngine();
void exitDebugger();
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