Revision: 45820
http://sourceforge.net/p/vice-emu/code/45820
Author: gpz
Date: 2025-11-09 12:56:46 +0000 (Sun, 09 Nov 2025)
Log Message:
-----------
move breakpoint range check into the loop instead of trying early exit, should fix #2178
Modified Paths:
--------------
trunk/vice/src/monitor/mon_breakpoint.c
Modified: trunk/vice/src/monitor/mon_breakpoint.c
===================================================================
--- trunk/vice/src/monitor/mon_breakpoint.c 2025-11-07 17:36:18 UTC (rev 45819)
+++ trunk/vice/src/monitor/mon_breakpoint.c 2025-11-09 12:56:46 UTC (rev 45820)
@@ -534,10 +534,11 @@
ptr = search_checkpoint_list(list, addr);
- while (ptr && mon_is_in_range(ptr->checkpt->start_addr, ptr->checkpt->end_addr, addr)) {
+ while (ptr) {
cp = ptr->checkpt;
ptr = ptr->next;
- if (cp && (cp->enabled == e_ON)) {
+ if (cp && (cp->enabled == e_ON) &&
+ mon_is_in_range(cp->start_addr, cp->end_addr, addr)) {
/* If condition test fails, skip this checkpoint */
if (cp->condition) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|