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

Debugger: Variable inspection #4026

Closed
mverzilli opened this issue Jan 12, 2024 · 1 comment
Closed

Debugger: Variable inspection #4026

mverzilli opened this issue Jan 12, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@mverzilli
Copy link
Contributor

mverzilli commented Jan 12, 2024

Problem

Make Noir source code level variables observable via the debugger.

Happy Case

REPL

A command vars should print every the values of every variable in context

VS Code extension

The variables pane of the debugger UI should display every variable in context

Additional Context

Implementation notes

Variable observability will be achieved by adding instrumentation oracles to track variable updates.

Caveats
  • Updates to variables triggered by interactions with references will not be captured by the instrumentation at the first released version of this feature. While it is achievable, it requires some additional effort to generate the necessary mappings through instrumentation, so we're opting to leave them out of scope to get release an MVP version of the debugger earlier.
  • Invoking oracles with slices is currently not possible, which means the programs run through the debugger will panic.

Would you like to submit a PR for this Issue?

Yes

Support Needs

No response

@mverzilli mverzilli added the enhancement New feature or request label Jan 12, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Jan 12, 2024
@kevaundray kevaundray added this to the 1.0 milestone Jan 15, 2024
@mverzilli
Copy link
Contributor Author

Implemented by #4122

@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants