SIMDE-ULL / SIMDE

Educational computer simulator on a mission to "superscalate" the study of computer architecture fundamentals
https://simde.net
GNU General Public License v3.0
13 stars 11 forks source link

Toggling a breakpoint presents inconsistencies between UI and logic #149

Open oxcabe opened 5 months ago

oxcabe commented 5 months ago

Description

The "toggle breakpoint" UI is not in sync with the underlying state of the breakpoints.

Reproducing

  1. Navigate to the superscalar machine.
  2. Load the example code.
  3. Set a breakpoint at instruction 0 by clicking on the instruction line. The red circle that indicates a breakpoint will not show up.
  4. Start an execution by pressing the Play button. The breakpoint will trigger and the red circle will appear.

The opposite scenario is occurring as well, where the dot might still show after disabling the breakpoint.

Solution