forked from qt-creator/qt-creator
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:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user