forked from qt-creator/qt-creator
Debugger: log the debugger exitcode also in hex
Change-Id: Ia9742bfa9c36c7ff4fdd965f2a32ea36a4239422 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -1773,8 +1773,11 @@ void DebuggerEngine::showMessage(const QString &msg, int channel, int timeout) c
|
|||||||
void DebuggerEngine::notifyDebuggerProcessFinished(int exitCode,
|
void DebuggerEngine::notifyDebuggerProcessFinished(int exitCode,
|
||||||
QProcess::ExitStatus exitStatus, const QString &backendName)
|
QProcess::ExitStatus exitStatus, const QString &backendName)
|
||||||
{
|
{
|
||||||
showMessage(QString("%1 PROCESS FINISHED, status %2, exit code %3")
|
showMessage(QString("%1 PROCESS FINISHED, status %2, exit code %3 (0x%4)")
|
||||||
.arg(backendName).arg(exitStatus).arg(exitCode));
|
.arg(backendName)
|
||||||
|
.arg(exitStatus)
|
||||||
|
.arg(exitCode)
|
||||||
|
.arg(QString::number(exitCode, 16)));
|
||||||
|
|
||||||
switch (state()) {
|
switch (state()) {
|
||||||
case DebuggerFinished:
|
case DebuggerFinished:
|
||||||
|
Reference in New Issue
Block a user