summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2018-05-16 14:46:53 +0200
committerhjk <hjk@qt.io>2018-05-17 05:59:41 +0000
commitf2a5932674749b248b42b04b166fa2f621fcbfec (patch)
tree7b28b3d1289a58d147bb9284476419146ade4bfa
parent850a35aae5b9854e1490e68fa5ee1277ff7332db (diff)
downloadqt-creator-f2a5932674749b248b42b04b166fa2f621fcbfec.tar.gz
Debugger: Remove a too strict error handling
There's seems to be the possibility to actually trigger the assert this patch removes with MinGW and mixed debugging. While the reason for that is not clear yet, there's no need to force the debugger to abort. The observer wrong state was InferiorRunOk, so just continuing on the selected path will do the right thing (i.e. attempt to interrupt the debugged process) Change-Id: I534cedd71522e73d5f1097ddd472efbeb3b4d97f Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r--src/plugins/debugger/gdb/gdbengine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp
index 410c30944c..a635bed613 100644
--- a/src/plugins/debugger/gdb/gdbengine.cpp
+++ b/src/plugins/debugger/gdb/gdbengine.cpp
@@ -696,7 +696,6 @@ void GdbEngine::interruptInferior()
showStatusMessage(tr("Stop requested..."), 5000);
showMessage("TRYING TO INTERRUPT INFERIOR");
if (HostOsInfo::isWindowsHost() && !m_isQnxGdb) {
- QTC_ASSERT(state() == InferiorStopRequested, qDebug() << state(); notifyInferiorStopFailed());
IDevice::ConstPtr device = runTool()->device();
if (!device)
device = runParameters().inferior.device;