forked from qt-creator/qt-creator
Debugger: Pass interrupt request more directly to engines
De-virtualize requestInterruptInferior() and let always the master engine react to the request. interruptInferior() diverts to the active slave in case of the combined engine. Change-Id: I5d62cf9379c8a452132827897a9ac51e4027f595 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -337,13 +337,7 @@ void QmlCppEngine::continueInferior()
|
||||
void QmlCppEngine::interruptInferior()
|
||||
{
|
||||
EDEBUG("\nMASTER INTERRUPT INFERIOR");
|
||||
m_cppEngine->requestInterruptInferior();
|
||||
}
|
||||
|
||||
void QmlCppEngine::requestInterruptInferior()
|
||||
{
|
||||
EDEBUG("\nMASTER REQUEST INTERRUPT INFERIOR");
|
||||
DebuggerEngine::requestInterruptInferior();
|
||||
m_activeEngine->interruptInferior();
|
||||
}
|
||||
|
||||
void QmlCppEngine::executeRunToLine(const ContextData &data)
|
||||
|
||||
Reference in New Issue
Block a user