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 "debug" stdlib #1266

Open
moul opened this issue Oct 20, 2023 · 0 comments
Open

Add "debug" stdlib #1266

moul opened this issue Oct 20, 2023 · 0 comments

Comments

@moul
Copy link
Member

moul commented Oct 20, 2023

Add a new standard library, "debug," to enhance {non,low}-interactive debugging.

Developers can import debug for tools like debug.PrintStack() and debug.Breakpoint() during local development. Importantly, when used on-chain, debug will have no effect. This means it's safe to include debug.XXX commands in published contracts or create a p/debugutil module.

Related with #999, #1226

cc @thehowl @mvertes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🌟 Wanted for Launch
Development

No branches or pull requests

1 participant