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 bytecode debugger #7

Open
JakeEhrlich opened this issue Sep 1, 2024 · 0 comments
Open

Add bytecode debugger #7

JakeEhrlich opened this issue Sep 1, 2024 · 0 comments

Comments

@JakeEhrlich
Copy link
Owner

We need a way to step through bytecode and figure out the following:

  • What source was this generated from?
  • What is the current instruction and what are the next instructions?
  • What's on the stack?
  • let us know when a trace is entered

commands:

  • s (step)
  • b (breakpoint, semantics is to add a breakpoint to the instruction to the first instruction greater than or equal to the line number)
  • c (continue until breakpoint)
  • p <stack index | > (print stack element or print the whole stack if '' is set)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant