diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index 57902453cffb9cfd793208ac9d1f372092f7f1bd..bb614ab1b962d5cc06c327135c63c47ee897218f 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -634,10 +634,9 @@ static bool isAllowedTransition(DebuggerState from, DebuggerState to) case EngineSetupRequested: return to == EngineSetupOk || to == EngineSetupFailed; case EngineSetupFailed: - // FIXME: In therory it's the engine's task to go into a - // proper "Shutdown" state before calling notifyEngineSetupFailed - //return to == DebuggerFinished; - return to == EngineShutdownRequested; + // In is the engine's task to go into a proper "Shutdown" + // state before calling notifyEngineSetupFailed + return to == DebuggerFinished; case EngineSetupOk: return to == InferiorSetupRequested || to == EngineShutdownRequested;