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

Add debug state for editor #623

Open
jorg-vr opened this issue Feb 12, 2024 · 0 comments
Open

Add debug state for editor #623

jorg-vr opened this issue Feb 12, 2024 · 0 comments
Labels

Comments

@jorg-vr
Copy link
Contributor

jorg-vr commented Feb 12, 2024

I encountered a small issue when running a simple input/output exercise (sum of 2 numbers): the input of the test was correctly loaded into the input area, but the lines were marked as checked from the start.

this would also solve #611

Some other suggestions, probably for a later PR:

  • If you click debug, wait for the traces to generate and then edit the code you are still debugging the old code. In addition, there is no good way to make the code arrow go away. I would enter a "debug mode" when clicking debug which restricts some features to make this more clear (show stop button, read only editor).
  • The "code arrow" doesn't scroll into view when it's not visible. Maybe we can reuse the active line feature of the editor?

Originally posted by @bmesuere in dodona-edu/dodona#5336 (review)

@pdawyndt pdawyndt changed the title Add debug state for edditor Add debug state for editor Feb 12, 2024
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