aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/cdb
diff options
context:
space:
mode:
authorJarek Kobus <[email protected]>2025-01-13 13:27:05 +0100
committerJarek Kobus <[email protected]>2025-01-13 12:45:29 +0000
commitace97b07cb1e9e3091eaf63ff26bd5711b94d943 (patch)
treee2b5353f585ee007af785c500ac4d1e8b62ebd0e /src/plugins/debugger/cdb
parent74ef874b9ea1d8e27bcf30058a111ab55c80c942 (diff)
Debugger: Transform a few fields of DebuggerRunParameters
Transform multiProcess, useTerminal and runAsRoot. Task-number: QTCREATORBUG-29168 Change-Id: I18fdd1f0637cf7b367f488128559627096bb39e0 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/cdb')
-rw-r--r--src/plugins/debugger/cdb/cdbengine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/debugger/cdb/cdbengine.cpp b/src/plugins/debugger/cdb/cdbengine.cpp
index affc89de424..ac4587dca32 100644
--- a/src/plugins/debugger/cdb/cdbengine.cpp
+++ b/src/plugins/debugger/cdb/cdbengine.cpp
@@ -285,7 +285,7 @@ void CdbEngine::setupEngine()
sp.setInferior({{}, sp.inferior().workingDirectory, sp.inferior().environment});
sp.setAttachPid(applicationPid());
sp.setStartMode(AttachToLocalProcess);
- sp.useTerminal = false; // Force no terminal.
+ sp.setUseTerminal(false); // Force no terminal.
showMessage(Tr::tr("Attaching to %1...").arg(sp.attachPid().pid()), LogMisc);
} else {
m_effectiveStartMode = sp.startMode();
@@ -341,7 +341,7 @@ void CdbEngine::setupEngine()
// register idle (debuggee stop) notification
"-c", ".idle_cmd " + m_extensionCommandPrefix + "idle"});
- if (sp.useTerminal) // Separate console
+ if (sp.useTerminal()) // Separate console
debugger.addArg("-2");
const DebuggerSettings &s = settings();
@@ -397,7 +397,7 @@ void CdbEngine::setupEngine()
// Make sure that QTestLib uses OutputDebugString for logging.
const QString qtLoggingToConsoleKey = QStringLiteral("QT_LOGGING_TO_CONSOLE");
- if (!sp.useTerminal && !inferiorEnvironment.hasKey(qtLoggingToConsoleKey))
+ if (!sp.useTerminal() && !inferiorEnvironment.hasKey(qtLoggingToConsoleKey))
inferiorEnvironment.set(qtLoggingToConsoleKey, "0");
static const char cdbExtensionPathVariableC[] = "_NT_DEBUGGER_EXTENSION_PATH";