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

TI-Basic "debugging" #286

Closed
3 of 4 tasks
adriweb opened this issue Oct 9, 2018 · 5 comments · Fixed by #457
Closed
3 of 4 tasks

TI-Basic "debugging" #286

adriweb opened this issue Oct 9, 2018 · 5 comments · Fixed by #457

Comments

@adriweb
Copy link
Member

adriweb commented Oct 9, 2018

We have quite a few information already (and are able to retrieve some more from some known memory locations) in order to have an idea of the current execution state of a TI-basic program.

With this information, we should be able to make some kind of "debugger", or at least a live-viewer of what's going on:

  • current program being run (basic_prog)
  • current line (curPC)
  • current variables (we have that already with the var list/viewer)

The variable viewer as of now can already show (and reformat, but I guess we can't use that feature here, unless we have original line info...?)

This "TI-Basic" debugger will likely require a new dedicated dock in order to maximize its usefulness and UX, with a custom UI being split in 2 parts:

  • a code viewer (like the current one, with syntax highlight, line numbers etc.)
    • highlighting the currently executing line (and fetched parts)
    • ability to stop and step
  • a variable viewer -> later on, see TI-Basic debugging enhancements #456

I'll add that to the "v2.0 - source-level debugging" release target, as it seems quite appropriate, but I guess we'll see over time how it develops.

@adriweb
Copy link
Member Author

adriweb commented Oct 9, 2018

( Dev to be done in a feature/basic-dbg branch )

@mateoconlechuga
Copy link
Member

I want a label tracker

@adriweb
Copy link
Member Author

adriweb commented Oct 13, 2018

todo: think how/if #287 can help with TI-Basic debugging.

@adriweb
Copy link
Member Author

adriweb commented Oct 17, 2018

Added a few ideas in the "code viewer" part.

@adriweb
Copy link
Member Author

adriweb commented Jan 10, 2023

Splitting this so that current working stuff can be merged into master, and creating another issues for the rest/improvements to be done later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment