From 82d14b11a9885f06cf347d130082ae808a6cc6a4 Mon Sep 17 00:00:00 2001 From: MaartenS11 Date: Tue, 19 Dec 2023 13:49:21 +0100 Subject: [PATCH] Skip breakpoint at current pc when doing step over when doing call/indirect call --- src/Debug/debugger.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Debug/debugger.cpp b/src/Debug/debugger.cpp index 4de756ff..578e040b 100644 --- a/src/Debug/debugger.cpp +++ b/src/Debug/debugger.cpp @@ -413,6 +413,7 @@ void Debugger::handleSTEP(Module *m, RunningState *program_state) { } void Debugger::handleSTEPOver(Module *m, RunningState *program_state) { + this->skipBreakpoint = m->pc_ptr; uint8_t const opcode = *m->pc_ptr; if (opcode == 0x10) { // step over direct call this->mark = m->pc_ptr + 2;