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 <david.schulz@qt.io>
This commit is contained in:
hjk
2018-05-23 14:17:36 +02:00
parent 51f5f25f99
commit 8b8237b11b

View File

@@ -337,6 +337,7 @@ void QmlCppEngine::continueInferior()
void QmlCppEngine::interruptInferior() void QmlCppEngine::interruptInferior()
{ {
EDEBUG("\nMASTER INTERRUPT INFERIOR"); EDEBUG("\nMASTER INTERRUPT INFERIOR");
m_activeEngine->setState(InferiorStopRequested);
m_activeEngine->interruptInferior(); m_activeEngine->interruptInferior();
} }