Important
Please follow the instructions in our Getting Started Guide to set up the extension correctly.
Important
The extension connects to the Simbolik API to provide debugging capabilities, and it transfers your compilation artifacts to our servers. The data is deleted after the debugging session is finished.
Simbolik is a powerful extension that allows developers to debug their Solidity smart contracts directly within Visual Studio Code. With this extension, you can easily set breakpoints, inspect variables, step through code, and debug your Solidity contracts with ease.
Do you have questions, or need help?
Visit our Documentation: https://docs.runtimeverification.com/simbolik Join our Discord: https://discord.gg/jnvEeDxW Join our TG group: https://t.me/rv_simbolik
- Step-by-step debugging: Debug your Solidity smart contracts line by line.
- Variable inspection: View the current values of variables while debugging.
- Inspect EVM state: View the current state of the EVM while debugging.
- Breakpoints: Set breakpoints in your Solidity code to pause execution and inspect the state.
- Bytecode debugging: Debug the compiled bytecode of your Solidity contracts.
- Foundry Cheatcodes: Use Foundry's cheatcodes to quickly find bugs in your Solidity code.
- Symbolic Execution: Enter an advanced symbolic execution mode to explore all possible paths through your Solidity code. You can get a sneak-peek of this feature at try.simbolik.runtimeverification.com.
For detailed instructions and troubleshooting tips, please refer to our Getting Started Guide. Here is the quick version:
To use the Solidity Debugger for Visual Studio Code, you need Foundry installed on your machine. Furthermore, you need a free API key from the Simbolik Website.
curl -L https://foundry.paradigm.xyz | bash
foundryup
- Go to the Simbolik Website and login with GitHub, Metamask or Google.
- Copy the API key from the dashboard.
- Open the settings in Visual Studio Code and search for "Simbolik API Key".
- Paste the API key into the input field.
- Open your Foundry project in Visual Studio Code. If you don't have a project at hand, you can clone our example project.
- Set breakpoints in your Solidity code by clicking on the gutter area next to the line numbers.
- Click the "Debug" button above any parameterless public/external function in your Solidity contract.
- Use the debug toolbar to step through your code, inspect variables, and control the debugging process.
For more detailed instructions and troubleshooting tips, please refer to the documentation.
Contributions are welcome! If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHub.