diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 195443ad3b728a87c69ce43bdbdd5aafa598a556..e7aab3ddd48415373ab7e59deada25d8fbf8be6c 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -1801,6 +1801,9 @@ void GdbEngine::handleExecuteContinue(const GdbResponse &response) // FIXME: Fix translation in master. showStatusMessage(QString::fromLocal8Bit(msg), 5000); gotoLocation(stackHandler()->currentFrame()); + } else if (msg.startsWith("Cannot execute this command while the selected thread is running.")) { + showExecutionError(QString::fromLocal8Bit(msg)); + notifyInferiorRunFailed() ; } else { showExecutionError(QString::fromLocal8Bit(msg)); notifyInferiorIll();