DebuggerEngines: avoiding some runtime error message through extra checks

Reviewed-by:  hjk
This commit is contained in:
Christiaan Janssen
2010-11-25 11:34:46 +01:00
parent 63f3d03f6d
commit dede74de17
2 changed files with 5 additions and 3 deletions

View File

@@ -914,8 +914,10 @@ void DebuggerEnginePrivate::doFinishDebugger()
m_engine->showMessage(_("NOTE: FINISH DEBUGGER"));
QTC_ASSERT(state() == DebuggerFinished, qDebug() << state());
m_engine->resetLocation();
QTC_ASSERT(m_runControl, return);
m_runControl->debuggingFinished();
if (!m_engine->isSlaveEngine()) {
QTC_ASSERT(m_runControl, return);
m_runControl->debuggingFinished();
}
}
void DebuggerEngine::notifyEngineIll()