From 80a187029246d950f9c0523cee8b9bd687b45d25 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 15 Jan 2021 14:16:05 +0100 Subject: [PATCH] Debugger: log the debugger exitcode also in hex Change-Id: Ia9742bfa9c36c7ff4fdd965f2a32ea36a4239422 Reviewed-by: hjk --- src/plugins/debugger/debuggerengine.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/plugins/debugger/debuggerengine.cpp b/src/plugins/debugger/debuggerengine.cpp index 6d7ec190bac..2f62093cb08 100644 --- a/src/plugins/debugger/debuggerengine.cpp +++ b/src/plugins/debugger/debuggerengine.cpp @@ -1773,8 +1773,11 @@ void DebuggerEngine::showMessage(const QString &msg, int channel, int timeout) c void DebuggerEngine::notifyDebuggerProcessFinished(int exitCode, QProcess::ExitStatus exitStatus, const QString &backendName) { - showMessage(QString("%1 PROCESS FINISHED, status %2, exit code %3") - .arg(backendName).arg(exitStatus).arg(exitCode)); + showMessage(QString("%1 PROCESS FINISHED, status %2, exit code %3 (0x%4)") + .arg(backendName) + .arg(exitStatus) + .arg(exitCode) + .arg(QString::number(exitCode, 16))); switch (state()) { case DebuggerFinished: