Commit 2efdeb5c authored by hjk's avatar hjk

debugger: fix EngineSetupFailed path

Task-number: QTCREATORBUG-2837
parent 57f76162
......@@ -1178,7 +1178,7 @@ void DebuggerEngine::notifyEngineSetupFailed()
setState(EngineSetupFailed);
QTC_ASSERT(d->m_runControl, return);
d->m_runControl->startFailed();
d->queueShutdownEngine();
setState(DebuggerFinished);
}
void DebuggerEngine::notifyEngineSetupOk()
......
......@@ -172,6 +172,13 @@
// Transitions marked by '*' are done asynchronously.
// The GdbEngine->setupEngine() function is described in more detail below.
//
// The engines are responsible for local roll-back to the last
// acknowledged state before calling notify*Failed. I.e. before calling
// notifyEngineSetupFailed() any process started during setupEngine()
// so far must be terminated.
//
//
//
// DebuggerNotReady
// +
// EngineSetupRequested
......
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