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

Output debug files for external trazability of errors #2279

Closed
sirasistant opened this issue Aug 11, 2023 · 0 comments · Fixed by #2260
Closed

Output debug files for external trazability of errors #2279

sirasistant opened this issue Aug 11, 2023 · 0 comments · Fixed by #2260
Labels
enhancement New feature or request

Comments

@sirasistant
Copy link
Contributor

Problem

Right now only nargo can figure out during execution which assertion errored. This is due to the fact that we are collecting debug info during compilation and using it in nargo execute, but never outputting it for external usage.

Happy Case

A new compile flag that outputs debug info along with a file map that allows resolving the locations in the debug info.

Alternatives Considered

Instead of attaching the file map, pre resolving the locations in debug info. This has been superceded by embedding the source of the file since it can improve debugging tools.

Additional Context

No response

Would you like to submit a PR for this Issue?

Yes

Support Needs

No response

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

Successfully merging a pull request may close this issue.

1 participant