debugger: fix display of correct thread in the thread combobox

This commit is contained in:
hjk
2010-07-21 13:11:03 +02:00
parent 57c96ee3a9
commit dfd44a0ceb
6 changed files with 26 additions and 30 deletions

View File

@@ -1362,6 +1362,10 @@ void DebuggerEngine::setState(DebuggerState state, bool forced)
if (!forced && !isAllowedTransition(oldState, state))
qDebug() << "UNEXPECTED STATE TRANSITION: " << msg;
const bool running = d->m_state == InferiorRunOk;
if (running)
threadsHandler()->notifyRunning();
showMessage(msg, LogDebug);
plugin()->updateState(this);
}