aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/cdb
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2025-01-10 12:58:33 +0100
committerJarek Kobus <[email protected]>2025-01-10 14:20:21 +0000
commitbdc1b186c1f64029f0e53c0a5df01bd9646032ed (patch)
treebb5ff0dfd2589c44dd406d201b2269e463e5127f /src/plugins/debugger/cdb
parent6adaac46a80bc6b6195c9dcff043dceb8bc24404 (diff)
Debugger: Transform DebuggerRunParameters::commandsAfterConnect
Diffstat (limited to 'src/plugins/debugger/cdb')
-rw-r--r--src/plugins/debugger/cdb/cdbengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp
index ef2fc362d8b..cd0dda11905 100644
--- a/src/plugins/debugger/cdb/cdbengine.cpp
+++ b/src/plugins/debugger/cdb/cdbengine.cpp
@@ -437,8 +437,8 @@ void CdbEngine::handleInitialSessionIdle()
{
m_initialSessionIdleHandled = true;
const DebuggerRunParameters &rp = runParameters();
- if (!rp.commandsAfterConnect.isEmpty())
- runCommand({rp.commandsAfterConnect, NoFlags});
+ if (!rp.commandsAfterConnect().isEmpty())
+ runCommand({rp.commandsAfterConnect(), NoFlags});
//operateByInstructionTriggered(operatesByInstruction());
// QmlCppEngine expects the QML engine to be connected before any breakpoints are hit
// (attemptBreakpointSynchronization() will be directly called then)