debugger: more state work

This commit is contained in:
hjk
2010-07-12 15:39:22 +02:00
parent cb68ec6656
commit 3eef8a43c0
7 changed files with 24 additions and 13 deletions

View File

@@ -1223,7 +1223,9 @@ void DebuggerEnginePrivate::doShutdownEngine()
{
SDEBUG(Q_FUNC_INFO);
QTC_ASSERT(state() == InferiorShutdownOk
|| state() == InferiorShutdownFailed, qDebug() << state());
|| state() == InferiorShutdownFailed
|| state() == InferiorSetupFailed,
qDebug() << state());
m_targetState = DebuggerFinished;
m_engine->setState(EngineShutdownRequested);
m_engine->shutdownEngine();