Commit dede74de authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

DebuggerEngines: avoiding some runtime error message through extra checks

Reviewed-by:  hjk
parent 63f3d03f
......@@ -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()
......
......@@ -2508,7 +2508,7 @@ void DebuggerPluginPrivate::displayDebugger(DebuggerEngine *engine, bool updateE
connectEngine(engine);
if (updateEngine)
engine->updateAll();
updateState(engine);
engine->updateViews();
}
void DebuggerPluginPrivate::startDebugger(RunControl *rc)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment