kierenj / 0x10c-DevKit

0x10c DevKit
http://0x10c-devkit.com/
39 stars 4 forks source link

Breakpoints after IF* don't work as expected #118

Closed ghost closed 12 years ago

ghost commented 12 years ago

If you set breakpoint on the instruction after IF*, breakpoint will be triggered even if that command isn't executed.

How to reproduce: 1) Start DevKit. 2) Create new solution, project and file. 3) Write this code:

SET A, 1
IFE 0, 1       ; always false
    SET A, 2   ; set breakpoint here
SET B, B       ; nop
SUB PC, 1

4) Set breakpoint on the 3rd line. 5) Run the program. 6) It stops at the breakpoint.

kierenj commented 12 years ago

Thanks, will take a look into this as a priority

kierenj commented 12 years ago

Fixed for the next release, thanks for the feedback!