aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/cdb
diff options
context:
space:
mode:
authorhjk <[email protected]>2024-04-26 13:48:06 +0200
committerhjk <[email protected]>2024-05-16 10:03:08 +0000
commit6aab6f61b59e3d052115f4d68d5dc9ed24cc9843 (patch)
tree167f3b34740e0905d8aa43a2547b7cea87412c29 /src/plugins/debugger/cdb
parentbee7cdfd1ecfdc6bf27310e500647d321929f5b6 (diff)
Debugger: Provider Qt version externally to bridges
Extracting within the bridges is expensive. Change-Id: Icf69db4b112230cc23e331abc0b3eb0de1323f46 Reviewed-by: <[email protected]> Reviewed-by: Christian Stenger <[email protected]> Reviewed-by: David Schulz <[email protected]>
Diffstat (limited to 'src/plugins/debugger/cdb')
-rw-r--r--src/plugins/debugger/cdb/cdbengine.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp
index 83c5a9459b5..24386788dbf 100644
--- a/src/plugins/debugger/cdb/cdbengine.cpp
+++ b/src/plugins/debugger/cdb/cdbengine.cpp
@@ -1042,6 +1042,8 @@ void CdbEngine::doUpdateLocals(const UpdateParameters &updateParameters)
cmd.arg("partialvar", updateParameters.partialVariable);
cmd.arg("qobjectnames", s.showQObjectNames());
cmd.arg("timestamps", s.logTimeStamps());
+ cmd.arg("qtversion", runParameters().qtVersion);
+ cmd.arg("qtnamespace", runParameters().qtNamespace);
StackFrame frame = stackHandler()->currentFrame();
cmd.arg("context", frame.context);
@@ -2809,10 +2811,6 @@ void CdbEngine::setupScripting(const DebuggerResponse &response)
runCommand({command, 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"]);