Commit 6295208a authored by hjk's avatar hjk
Browse files

debugger: allow starting and continuing only in defined states

parent 6d353996
......@@ -2275,7 +2275,10 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine)
const bool starting = m_state == EngineSetupRequested;
m_startExternalAction->setEnabled(!started && !starting);
const bool canStartOrContinue = m_state == DebuggerNotReady
|| m_state == InferiorStopOk;
m_startExternalAction->setEnabled(canStartOrContinue);
m_attachExternalAction->setEnabled(true);
#ifdef Q_OS_WIN
m_attachCoreAction->setEnabled(false);
......
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