forked from qt-creator/qt-creator
Debugger: Conceptually fix temporary stop of mixed gdb+qml engine
There's no actual change, the code could only be triggered when the gdb side was active, but it triggered a stop of the combo which then redirected to the active one. It's always and only the gdb side that needs stopping, so do it directly. Change-Id: I1a6273b826be8f38993c9968d874b7b3daf0d0c7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -757,7 +757,7 @@ void GdbEngine::runCommand(const DebuggerCommand &command)
|
|||||||
if (state() == InferiorRunOk) {
|
if (state() == InferiorRunOk) {
|
||||||
showStatusMessage(tr("Stopping temporarily."), 1000);
|
showStatusMessage(tr("Stopping temporarily."), 1000);
|
||||||
m_onStop.append(cmd, wantContinue);
|
m_onStop.append(cmd, wantContinue);
|
||||||
requestInterruptInferior();
|
interruptInferior();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (state() != InferiorStopOk)
|
if (state() != InferiorStopOk)
|
||||||
|
Reference in New Issue
Block a user