diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index 6c19122e1034155ee36372dbe9ab888f9a7a576c..1ca6e3171566c7c3c33fe00407ccb12decda0a3b 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;