Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggling a breakpoint presents inconsistencies between UI and logic #149

Open
3 tasks
oxcabe opened this issue Apr 9, 2024 · 0 comments
Open
3 tasks

Toggling a breakpoint presents inconsistencies between UI and logic #149

oxcabe opened this issue Apr 9, 2024 · 0 comments
Labels

Comments

@oxcabe
Copy link
Member

oxcabe commented Apr 9, 2024

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

  • Investigate what causes this bug and fix it.
  • Improve breakpoint accessibility, possibly by displaying a tooltip when hovering on top of the instruction number.
  • Narrow breakpoint setting surface to only cover the instruction number slot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant