GimletGimlet is a VSCode Extension that makes Solana smart contract debugging seamless, automated, and fully integrated into the VS Code experience, eliminating the need for manual configuration or terminal-only workflows. Install Gimlet from hereTable of ContentsPrerequisitesBefore using Gimlet, ensure you have the following tools installed:
IntroductionGimlet uses LiteSVM to execute its tests. Each test transaction can start a VM instance running in SBPF, which exposes a gdbstub for debugging over TCP. Gimlet connects to this gdbstub using a specified Getting Started with GimletGimlet makes debugging Solana programs inside VS Code effortless. Follow these steps to get started: 1. Automatic ConfigurationWhen you open your Solana project, Gimlet automatically creates a
Gimlet also adjusts a few VS Code workspace settings to ensure smooth integration. 2. Setup Steps
Example ProjectExample Anchor and Pinocchio programs to test Gimlet are available here. TroubleshootingPermission Denied When Trying to Debug a ProgramRefer to the Apple Developer Forum thread for instructions on disabling debugging protection for macOS systems. Platform-toolsWe recommend using platform-tools version v1.51.
Windows (WSL)Common Issues and Solutions
|