debugger: fix EngineSetupFailed path

Task-number: QTCREATORBUG-2837
(cherry picked from commit 2efdeb5cd0)
This commit is contained in:
hjk
2010-10-26 17:08:12 +02:00
committed by dt
parent 592396c254
commit b5c6e15cd3
2 changed files with 8 additions and 1 deletions

View File

@@ -1182,7 +1182,7 @@ void DebuggerEngine::notifyEngineSetupFailed()
setState(EngineSetupFailed);
QTC_ASSERT(d->m_runControl, return);
d->m_runControl->startFailed();
d->queueShutdownEngine();
setState(DebuggerFinished);
}
void DebuggerEngine::notifyEngineSetupOk()

View File

@@ -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