Commit ca47f5d1 authored by hjk's avatar hjk
Browse files

debugger: don't complain on Running->Stopped state changes when not directly

triggered by the user
parent bb1ebd09
......@@ -1317,6 +1317,11 @@ void GdbEngine::handleStop2(const GdbResponse &response)
void GdbEngine::handleStop2(const GdbMi &data)
{
if (state() == InferiorRunning) {
// Stop triggered by a breakpoint or otherwise not directly
// initiated by the user.
setState(InferiorStopping);
}
setState(InferiorStopped);
showStatusMessage(tr("Stopped."), 5000);
......
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