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

feat: add debugging hints #1475

Closed
greged93 opened this issue Nov 12, 2023 · 0 comments
Closed

feat: add debugging hints #1475

greged93 opened this issue Nov 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@greged93
Copy link
Contributor

greged93 commented Nov 12, 2023

Feature

In the previous python vm which allowed for any python hints to run, it was quite easy to debug issues in your code. It is however a lot harder now if running cairo 0 on the rust vm. This causes slowed down devx where some tests are ran on the cairo rust vm for increased speed but then debugged on the cairo python vm for easier tracing of issues.

Preferred solution

Add custom debugging hints, which allow to print various cairo vm structures (felt, array, dict). This would be hidden behind a feature flag, allowing to only be used when necessary and not included in production.

@greged93 greged93 added the enhancement New feature or request label Nov 12, 2023
@greged93 greged93 mentioned this issue Nov 12, 2023
6 tasks
@fmoletta fmoletta closed this as completed Jan 3, 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
None yet
Development

No branches or pull requests

2 participants