summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggerengine.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2022-06-01 15:19:31 +0200
committerhjk <hjk@qt.io>2022-06-03 09:42:26 +0000
commitd76458a8b6a03ba3b5657c88221884c05c848467 (patch)
treec001d7872e1d6191cc5c5256afc8961ff6cefde5 /src/plugins/debugger/debuggerengine.cpp
parentb72f41c7f0dcd01e4d16aef8520bbc29bfb51233 (diff)
downloadqt-creator-d76458a8b6a03ba3b5657c88221884c05c848467.tar.gz
Utils: Replace Environment::size() check by some isValid() function
More descriptive, and later implementable without full expansion. Change-Id: Ic3b17ea0b07273f292827a7b63e7695b4bd1cf23 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggerengine.cpp')
-rw-r--r--src/plugins/debugger/debuggerengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp
index 25ffb16122..e95ee836ea 100644
--- a/src/plugins/debugger/debuggerengine.cpp
+++ b/src/plugins/debugger/debuggerengine.cpp
@@ -123,8 +123,8 @@ QDebug operator<<(QDebug str, const DebuggerRunParameters &sp)
nospace << "executable=" << sp.inferior.command.executable()
<< " coreFile=" << sp.coreFile
<< " processArgs=" << sp.inferior.command.arguments()
- << " inferior environment=<" << sp.inferior.environment.size() << " variables>"
- << " debugger environment=<" << sp.debugger.environment.size() << " variables>"
+ << " inferior environment=<" << sp.inferior.environment.toStringList().size() << " variables>"
+ << " debugger environment=<" << sp.debugger.environment.toStringList().size() << " variables>"
<< " workingDir=" << sp.inferior.workingDirectory
<< " attachPID=" << sp.attachPID.pid()
<< " remoteChannel=" << sp.remoteChannel