forked from qt-creator/qt-creator
Debugger: Run user commands as native commands
Change-Id: I2b13880eace49818c20815a21c3e327f87ec04bc Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
79c3c4e5e5
commit
b66baab4b7
@@ -1186,7 +1186,7 @@ void GdbEngine::executeDebuggerCommand(const QString &command, DebuggerLanguages
|
|||||||
if (!(languages & CppLanguage))
|
if (!(languages & CppLanguage))
|
||||||
return;
|
return;
|
||||||
QTC_CHECK(acceptsDebuggerCommands());
|
QTC_CHECK(acceptsDebuggerCommands());
|
||||||
runCommand({command});
|
runCommand({command, NativeCommand});
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is triggered when switching snapshots.
|
// This is triggered when switching snapshots.
|
||||||
|
Reference in New Issue
Block a user