forked from qt-creator/qt-creator
Debugger: Ensure status message is printed
Activate the debugger engine before the status label is updated to avoid purging the status label content. Change-Id: I060cdaaf3d09e3636fbe206f65941ec56abb5eb7 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1249,11 +1249,11 @@ void DebuggerEngine::notifyInferiorSpontaneousStop()
|
||||
{
|
||||
showMessage("NOTE: INFERIOR SPONTANEOUS STOP");
|
||||
QTC_ASSERT(state() == InferiorRunOk, qDebug() << this << state());
|
||||
EngineManager::activateEngine(this);
|
||||
showMessage(tr("Stopped."), StatusBar);
|
||||
setState(InferiorStopOk);
|
||||
if (boolSetting(RaiseOnInterrupt))
|
||||
ICore::raiseWindow(DebuggerMainWindow::instance());
|
||||
EngineManager::activateEngine(this);
|
||||
}
|
||||
|
||||
void DebuggerEngine::notifyInferiorStopFailed()
|
||||
|
||||
Reference in New Issue
Block a user