forked from qt-creator/qt-creator
Debugger: use Qt version from kit as fallback for dumper
Fixes: QTCREATORBUG-26456 Change-Id: If2cd664212b3fa07d7abaef7a1173f79716884bb Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -2772,6 +2772,8 @@ void CdbEngine::setupScripting(const DebuggerResponse &response)
|
||||
runCommand({command, ScriptCommand});
|
||||
}
|
||||
|
||||
const QString qtVersion = QString::number(runParameters().fallbackQtVersion, 16);
|
||||
runCommand({"theDumper.setFallbackQtVersion(0x" + qtVersion + ")", ScriptCommand});
|
||||
runCommand({"theDumper.loadDumpers(None)", ScriptCommand,
|
||||
[this](const DebuggerResponse &response) {
|
||||
watchHandler()->addDumpers(response.data["result"]["dumpers"]);
|
||||
|
||||
Reference in New Issue
Block a user