From 0f33735e06d78ebd9caf72e5670609e957522f48 Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Sat, 17 Oct 2020 23:57:10 -0400 Subject: [PATCH] Per request, changed the Qt debugger stack display to use a more compact address text format. --- src/drivers/Qt/ConsoleDebugger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drivers/Qt/ConsoleDebugger.cpp b/src/drivers/Qt/ConsoleDebugger.cpp index 073b81c9..ef88f1f7 100644 --- a/src/drivers/Qt/ConsoleDebugger.cpp +++ b/src/drivers/Qt/ConsoleDebugger.cpp @@ -3364,7 +3364,7 @@ void DebuggerStackDisplay::updateText(void) { if ( showAddrs || (stackBytesPerLine <= 1) ) { - sprintf( stmp, " $%04X : %02X", stackPtr, GetMem(stackPtr) ); + sprintf( stmp, "%03X: %02X", stackPtr, GetMem(stackPtr) ); } else { @@ -3386,7 +3386,7 @@ void DebuggerStackDisplay::updateText(void) { if ( showAddrs ) { - sprintf( stmp, "\n $%04X : %02X", stackPtr, GetMem(stackPtr) ); + sprintf( stmp, "\n%03X: %02X", stackPtr, GetMem(stackPtr) ); } else { @@ -3400,7 +3400,7 @@ void DebuggerStackDisplay::updateText(void) } else { - sprintf( stmp, "\n $%04X : %02X", stackPtr, GetMem(stackPtr) ); + sprintf( stmp, "\n%03X: %02X", stackPtr, GetMem(stackPtr) ); } stackLine.append( stmp );