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

Display of variables #118

Open
ncannasse opened this issue Mar 17, 2023 · 0 comments
Open

Display of variables #118

ncannasse opened this issue Mar 17, 2023 · 0 comments

Comments

@ncannasse
Copy link
Member

ncannasse commented Mar 17, 2023

It would be nice to be able to display a value on screen using the debugger.

  • we would need to pause the debugger
  • then use $disp(expr) as a watch expression
  • this would store the variable info into the VM
  • the app would be able to retrieve which vars are displayed and show them onscreen, and update them each frame

A simpler version would be $trace(variable), which would put a watch break on variable change, then trace it after each change in stdout and resume the process. That would give one trace per change (no need for game/app support)

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