Debugger: Improve stop reason for 'brkop n' cmd to include address

This commit is contained in:
tomcw 2023-05-19 22:24:10 +01:00
parent 771282a792
commit 47841bf58a
1 changed files with 1 additions and 1 deletions

View File

@ -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)