Debugger: Alert on stop in the debugger manager.

This commit is contained in:
Friedemann Kleint
2009-07-15 16:50:49 +02:00
parent b2ec44ba90
commit e917eeacb9
2 changed files with 4 additions and 4 deletions

View File

@@ -1236,11 +1236,12 @@ void DebuggerManager::setStatus(int status)
|| status == DebuggerInferiorStopRequested
|| status == DebuggerInferiorStopped;
//const bool starting = status == DebuggerProcessStartingUp;
const bool running = status == DebuggerInferiorRunning;
const bool ready = status == DebuggerInferiorStopped
&& startMode() != AttachCore;
if (ready)
QApplication::alert(mainWindow(), 3000);
m_watchAction->setEnabled(ready);
m_breakAction->setEnabled(true);