-
-
Notifications
You must be signed in to change notification settings - Fork 32
PoC: Solidity debugger #1624
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
base: main
Are you sure you want to change the base?
PoC: Solidity debugger #1624
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
PoC for the
onStep
debugger to trace function execution alongside the actual contract code.The code is roughly placed in
packages/contract/debugger
for easier integration and testing.The debugger, when attached to the
onStep
handler, produces this output:Enregistrement.de.l.ecran.2025-04-22.a.17.07.34.mov
Limitations
A few potential issues to tackle:
InterpreterStep.address
orInterpreterStep.codeAddress
were incorrect._env
, so we might want to go on a slighly lower level to access it and feed it to the callback (?)