gimlet-cli

Crates.iogimlet-cli
lib.rsgimlet-cli
version0.1.1
created_at2025-06-26 11:38:39.634187+00
updated_at2025-06-26 12:56:07.982926+00
descriptionA CLI tool used to debug executable binaries of Solana program using LLDB + rust formatting scripts.
homepage
repositoryhttps://github.com/ERoydev/anchor-lldb
max_upload_size
id1727183
size55,276
Emil Roydev (ERoydev)

documentation

README

Gimlet CLI for Gimlet VS Code extension

A CLI tool for launching lldb with enhanced Rust + Solana formatters — built to simplify debugging Solana Anchor programs.


Features

  • Automatically injects LLDB Rust + Solana formatting scripts
  • No global installs: runs everything in an isolated temporary directory
  • Friendly CLI: just pass your compiled binary and debug
  • Integrated with VS Code / terminal workflows

Requirements

  • Rust(stable)
  • LLDB >= 20.1.7 (tested)
  • Recommended: Install via Homebrew (on macOS)

Installation

cargo install gimlet-cli

Usage

gimlet-cli <absolute_path_to_binary>
  1. Creates a temp sandbox.
  2. Extract the LLDB formatters and scripts.
  3. Launch lldb with everything configured.

Notes

  • We use this to run the lldb scripts with rust formatters instead of using solana-lldb which uses older LLDB version that have issues for our debugging goals.
Commit count: 0

cargo fmt