Commit 2b8c7d68 authored by hjk's avatar hjk
Browse files

debugger: no need to kill the process if someone tries 'step out' on the outermost level

parent 98e6eac6
......@@ -1560,10 +1560,12 @@ void GdbEngine::handleExecuteContinue(const GdbResponse &response)
QTC_ASSERT(state() == InferiorRunningRequested, /**/);
QByteArray msg ="msg").data();
if (msg.startsWith("Cannot find bounds of current function")) {
if (msg.startsWith("Cannot find bounds of current function")
|| msg.startsWith("\"finish\" not meaningful in the outermost frame")) {
if (!m_commandsToRunOnTemporaryBreak.isEmpty())
showStatusMessage(tr("Stopped."), 5000);
//showStatusMessage(tr("No debug information available. "
// "Leaving function..."));
Supports Markdown
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