Fix multiple breakpoints at the same memory address
This commit is contained in:
parent
06ccd4a2b3
commit
e8665e7c0a
|
@ -70,7 +70,7 @@
|
||||||
(var last-addr ?last-addr)
|
(var last-addr ?last-addr)
|
||||||
(while (let [state manager.machine.debugger.execution_state
|
(while (let [state manager.machine.debugger.execution_state
|
||||||
addr (. manager.machine.devices ::maincpu :state :PC :value)]
|
addr (. manager.machine.devices ::maincpu :state :PC :value)]
|
||||||
(not (and (= state :stop) (not= addr ?last-addr))))
|
(not (and (= state :stop) (not= addr last-addr))))
|
||||||
(when (= :run manager.machine.debugger.execution_state)
|
(when (= :run manager.machine.debugger.execution_state)
|
||||||
(set last-addr nil))
|
(set last-addr nil))
|
||||||
(coroutine.yield))))
|
(coroutine.yield))))
|
||||||
|
|
Loading…
Reference in a new issue