forked from qt-creator/qt-creator
Debugger: Be a bit more explicit about states while quitting
... and make sure to use notifyInferiorIll only in states where the inferior might still be alive. Change-Id: Ie002cd8b70cc610b15bab00554c027494a0ad2e3 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -2017,11 +2017,16 @@ void DebuggerEngine::quitDebugger()
|
|||||||
case EngineShutdownRequested:
|
case EngineShutdownRequested:
|
||||||
case InferiorShutdownRequested:
|
case InferiorShutdownRequested:
|
||||||
break;
|
break;
|
||||||
case EngineRunFailed:
|
case DebuggerNotReady:
|
||||||
case DebuggerFinished:
|
case EngineSetupFailed:
|
||||||
case InferiorShutdownFinished:
|
case InferiorShutdownFinished:
|
||||||
|
case EngineRunFailed:
|
||||||
|
case EngineShutdownFinished:
|
||||||
|
case DebuggerFinished:
|
||||||
break;
|
break;
|
||||||
default:
|
case InferiorRunRequested:
|
||||||
|
case InferiorRunFailed:
|
||||||
|
case InferiorStopRequested:
|
||||||
// FIXME: We should disable the actions connected to that.
|
// FIXME: We should disable the actions connected to that.
|
||||||
notifyInferiorIll();
|
notifyInferiorIll();
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user