diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp index a9bb69ccc69998f927b9d7e3423ec4a056a529bc..76a60d09a07fb9bbbed2a07ae2d834caea3e7ce9 100644 --- a/src/plugins/debugger/debuggermanager.cpp +++ b/src/plugins/debugger/debuggermanager.cpp @@ -1804,6 +1804,8 @@ void DebuggerManager::setState(DebuggerState state, bool forced) d->m_actions.snapshotAction-> setEnabled(stopped && (engineCapabilities & SnapshotCapability)); + theDebuggerAction(OperateByInstruction)->setEnabled(!running); + const bool interruptIsExit = !running; if (interruptIsExit) { d->m_actions.stopAction->setIcon(d->m_stopIcon);