From 8b8237b11b72a4ef470493472083b63e3074b391 Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 23 May 2018 14:17:36 +0200 Subject: [PATCH] Debugger: Fix combined debugger interrupt state machine This fixes the case where the mixed engine was used, and called one of the slave engine's interruptInferior() without setting the InterruptStopRequested state in the slave. Change-Id: I45adbdcebc02940d6fcfb4299ef9f4bef1341b32 Reviewed-by: David Schulz --- src/plugins/debugger/qml/qmlcppengine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/debugger/qml/qmlcppengine.cpp b/src/plugins/debugger/qml/qmlcppengine.cpp index bf3a51e43f5..1a920f5f3ef 100644 --- a/src/plugins/debugger/qml/qmlcppengine.cpp +++ b/src/plugins/debugger/qml/qmlcppengine.cpp @@ -337,6 +337,7 @@ void QmlCppEngine::continueInferior() void QmlCppEngine::interruptInferior() { EDEBUG("\nMASTER INTERRUPT INFERIOR"); + m_activeEngine->setState(InferiorStopRequested); m_activeEngine->interruptInferior(); }