diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 6c19122e103..1ca6e317156 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -2311,7 +2311,7 @@ void DebuggerPluginPrivate::updateState(DebuggerEngine *engine) m_attachToRemoteServerAction->setEnabled(true); m_attachToRunningApplication->setEnabled(true); - m_threadBox->setEnabled(state == InferiorStopOk); + m_threadBox->setEnabled(state == InferiorStopOk || state == InferiorUnrunnable); const bool isCore = engine->startParameters().startMode == AttachCore; const bool stopped = state == InferiorStopOk;