forked from qt-creator/qt-creator
Debugger: Fix setting of Qt version fallback, again
Change-Id: I6b6cd448884800cb6d08dbdce15cb99f4ea8ba2b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -2832,8 +2832,10 @@ void CdbEngine::setupScripting(const DebuggerResponse &response)
|
||||
runCommand({command, ScriptCommand});
|
||||
}
|
||||
|
||||
const QString qtVersion = QString::number(runParameters().fallbackQtVersion, 16);
|
||||
runCommand({"theDumper.setFallbackQtVersion(0x" + qtVersion + ")", ScriptCommand});
|
||||
DebuggerCommand cmd0("theDumper.setFallbackQtVersion", ScriptCommand);
|
||||
cmd0.arg("version", runParameters().fallbackQtVersion);
|
||||
runCommand(cmd0);
|
||||
|
||||
runCommand({"theDumper.loadDumpers(None)", ScriptCommand,
|
||||
[this](const DebuggerResponse &response) {
|
||||
watchHandler()->addDumpers(response.data["result"]["dumpers"]);
|
||||
|
||||
Reference in New Issue
Block a user