Commit b540ea66 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: allow cleaner abort of autotest runs



Change-Id: I1dbfc5870fa86787975574a6b8e88ebbc8dfc322
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent bb648802
...@@ -1934,11 +1934,16 @@ void DebuggerEnginePrivate::handleAutoTestLine(int line) ...@@ -1934,11 +1934,16 @@ void DebuggerEnginePrivate::handleAutoTestLine(int line)
} }
handleAutoTestLine(line + 1); handleAutoTestLine(line + 1);
} else if (cmd == QLatin1String("Continue")) { } else if (cmd == QLatin1String("Continue")) {
m_engine->showMessage(_("Continue in line %1 processed.").arg(line)); if (state() == InferiorStopOk) {
if (!m_breakOnError || !m_foundError) m_engine->showMessage(_("Continue in line %1 processed.").arg(line));
m_engine->continueInferior(); if (!m_breakOnError || !m_foundError)
else m_engine->continueInferior();
m_foundError = false; else
m_foundError = false;
} else {
m_engine->showMessage(_("Auto-run aborted in line %1. State is %2.")
.arg(line).arg(state()));
}
} }
} }
......
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