debugger: make 'qtcreator -debug <corefile>' work

This commit is contained in:
hjk
2009-09-30 12:27:03 +02:00
parent 2dff35548a
commit 93902e5d0a
11 changed files with 82 additions and 41 deletions

View File

@@ -1698,7 +1698,9 @@ void DebuggerManager::setState(DebuggerState state)
//showStatusMessage(QString("stoppable: %1, running: %2")
// .arg(stoppable).arg(running));
emit stateChanged(d->m_state);
const bool notbusy = stopped || state == DebuggerNotReady;
const bool notbusy = state == InferiorStopped
|| state == DebuggerNotReady
|| state == InferiorUnrunnable;
setBusyCursor(!notbusy);
}