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:
@@ -3036,7 +3036,7 @@ DebuggerEngine *currentEngine()
|
||||
{
|
||||
DebuggerEngine *engine = nullptr;
|
||||
if (dd->m_currentRunTool)
|
||||
engine = dd->m_currentRunTool->activeEngine();
|
||||
engine = dd->m_currentRunTool->engine();
|
||||
return engine ? engine : dd->dummyEngine();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user