forked from qt-creator/qt-creator
Debugger: Streamline ramping down
There were only two used target states, and in case of mixed debugging all parts of the machinery better agree on the direction. So one bool in the (shared) runTool is sufficient. Change-Id: Iffbf1651b82dde707cfc37d8da9d3da573b34b76 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -176,7 +176,8 @@ void DebuggerRunTool::notifyEngineRemoteSetupFinished(const RemoteSetupResult &r
|
||||
|
||||
void DebuggerRunTool::stop()
|
||||
{
|
||||
m_engine->exitDebugger();
|
||||
m_isDying = true;
|
||||
m_engine->quitDebugger();
|
||||
}
|
||||
|
||||
void DebuggerRunTool::onTargetFailure()
|
||||
@@ -223,6 +224,7 @@ void DebuggerRunTool::notifyInferiorExited()
|
||||
|
||||
void DebuggerRunTool::quitDebugger()
|
||||
{
|
||||
m_isDying = true;
|
||||
m_engine->quitDebugger();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user