From 47841bf58a8d5d298338b922bf1490b7cb02ef5f Mon Sep 17 00:00:00 2001 From: tomcw Date: Fri, 19 May 2023 22:24:10 +0100 Subject: [PATCH] Debugger: Improve stop reason for 'brkop n' cmd to include address --- source/Debugger/Debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Debugger/Debug.cpp b/source/Debugger/Debug.cpp index dd492df7..ef30a95c 100644 --- a/source/Debugger/Debug.cpp +++ b/source/Debugger/Debug.cpp @@ -8712,7 +8712,7 @@ void DebugContinueStepping (const bool bCallerWillUpdateDisplay/*=false*/) else if (g_bDebugBreakpointHit & BP_HIT_INVALID) stopReason = "Invalid opcode"; else if (g_bDebugBreakpointHit & BP_HIT_OPCODE) - stopReason = "Opcode match"; + stopReason = StrFormat("Opcode match at " CHC_ARG_SEP "$" CHC_ADDRESS "%04X", regs.pc); else if (g_bDebugBreakpointHit & BP_HIT_REG) { if (g_pDebugBreakpointHit)