branlwyd / bdcpu16

DCPU-16 simulator based on version 1.7 of the DCPU-16 specification. See http://dcpu.com/.
0 stars 0 forks source link

Debug: improve breakpoints on skipped instructions #31

Closed branlwyd closed 11 years ago

branlwyd commented 11 years ago

Currently, if a breakpoint exists on an instruction that is skipped due to a failing IF* test, it will still trigger a breakpoint, even if the UI's "step over skipped instructions" option is set; the UI then skips over the instruction and it appears the next instruction triggered the breakpoint. Ideally, the breakpoint would be skipped if the instruction was skipped. This would require the addition of some logic in the Debugger class to support stepping over skipped instructions.

branlwyd commented 11 years ago

Done in fd428f2281cd8dc3314d52343deef17ddba11145. Closing.