Skip to content
Researched developer tool comparisonsPrices dated · vendor sources linked · no star ratings
Search

Stage 01 · Write · Researched comparison

Best Rust Debuggers in 2026

CodeLLDB is the first pick for most Rust developers because it brings LLDB debugging into VS Code on Linux, macOS and Windows. Choose rust-gdb or rust-lldb if you prefer the terminal and want the wrappers shipped with the Rust toolchain. Choose RustRover if you want a full IDE with the debugger built in and are willing to pay for a licence.

By
Published 27 Nov 2026 · 6 tools compared

We run no ads and no affiliate links at launch. The order of a list follows our published method. See how we score.

Prices are the starting prices vendors list publicly. Plans change, so confirm the current price on the vendor page before you buy.

Key takeaways

  • CodeLLDB is free and open source, and it is the common way to debug Rust inside VS Code.
  • rust-gdb and rust-lldb ship with Rust and add Rust-aware pretty-printers on top of GDB and LLDB.
  • RustRover includes a debugger in a paid JetBrains IDE; Visual Studio debugs Rust on Windows through its C++ tooling.
  • rr records and replays program execution on Linux, which helps with bugs that are hard to reproduce.

Who each pick is for

  • Rust debugging inside VS CodeCodeLLDB
  • Terminal debugging with GDB on Linuxrust-gdb
  • Terminal debugging with LLDB on macOS and Linuxrust-lldb
  • Full IDE with an integrated Rust debuggerRustRover
  • Debugging Rust on Windows with Microsoft toolingVisual Studio
  • Record-and-replay debugging on Linuxrr

Comparison

The 6 tools at a glance
ToolBest forStandout featureListed starting priceFree plan or trial
1CodeLLDBRust debugging inside VS CodeIntegrates LLDB into VS CodeFree (open source)Free plan
2rust-gdbTerminal debugging with GDB on LinuxShips with the Rust toolchainFree (open source)Free plan
3rust-lldbTerminal debugging with LLDB on macOS and LinuxShips with the Rust toolchainFree (open source)Free plan
4RustRoverFull IDE with an integrated Rust debuggerGraphical debugger integrated with the editorSee vendor pricing pageFree trial (30 days)
5Visual StudioDebugging Rust on Windows with Microsoft toolingMature graphical debuggerSee vendor pricing pageFree plan
6rrRecord-and-replay debugging on LinuxRecords execution and replays it deterministicallyFree (open source)Free plan

How we picked

We picked tools that debug Rust binaries directly or through a documented integration, and we checked platform support, licence and price, and the main limits of each. Sources are vendor pages, official documentation and project repositories. Prices and plan terms change, so confirm current details on the vendor site before you commit.

The tools, one by one

01

CodeLLDB

Best for rust debugging inside VS Code

Visit github.com
CodeLLDB homepage
CodeLLDB homepage, captured Nov 2026

What it is and where it fits

CodeLLDB is a VS Code extension that connects the editor to LLDB. It handles Rust types through pretty-printers, so vectors, strings and enums display in readable form instead of raw memory. You can set breakpoints, step through code, inspect variables and evaluate expressions from the editor.

It runs wherever VS Code and LLDB run, including Linux, macOS and Windows. The extension is open source and free. Setup involves installing the extension and adding a launch configuration, often generated by the Rust Analyzer extension. It is not a standalone debugger, so anyone who does not use VS Code should look at the command-line wrappers or an IDE. Users who need reverse debugging should consider rr instead.

Standout: Integrates LLDB into VS Code

Pricing pointer

Free (open source), as listed by the vendor (CodeLLDB website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Integrates LLDB into VS Code
  • supports Rust pretty-printers and conditional breakpoints

Drawbacks

  • Requires the VS Code extension setup
  • some features depend on the LLDB version bundled

Skip it if this limit matters to you: requires the VS Code extension setup.

Verdict. A sensible pick for rust debugging inside VS Code.

Alternatives in this guide: rust-gdb, rust-lldb, RustRover

02

rust-gdb

Best for terminal debugging with GDB on Linux

Visit doc.rust-lang.org
rust-gdb homepage
rust-gdb homepage, captured Nov 2026

What it is and where it fits

rust-gdb is a wrapper script installed with the Rust toolchain. It starts GDB and loads the Rust pretty-printers that ship with the compiler, so standard library types print in a readable form. You get the full GDB command set: breakpoints, watchpoints, backtraces, stepping and expression evaluation.

It is most useful on Linux, where GDB is the native debugger. The wrapper is free and open source as part of the Rust distribution. It has no graphical interface, so it suits developers comfortable with GDB commands or with an editor that can drive GDB. On macOS and Windows, LLDB or a Visual Studio setup is usually a better fit.

Standout: Ships with the Rust toolchain

Pricing pointer

Free (open source), as listed by the vendor (rust-gdb website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Ships with the Rust toolchain
  • loads Rust pretty-printers automatically

Drawbacks

  • Command-line only
  • GDB support varies by platform

Skip it if this limit matters to you: command-line only.

Verdict. A sensible pick for terminal debugging with GDB on Linux.

Alternatives in this guide: CodeLLDB, rust-lldb, RustRover

03

rust-lldb

Best for terminal debugging with LLDB on macOS and Linux

Visit doc.rust-lang.org
rust-lldb homepage
rust-lldb homepage, captured Nov 2026

What it is and where it fits

rust-lldb is the LLDB counterpart to rust-gdb. It launches LLDB with the Rust pretty-printers loaded, so you can inspect Rust values in a readable form while stepping through code. It supports breakpoints, watchpoints, backtraces and expression evaluation through the LLDB command set.

It is the natural choice on macOS, where LLDB is the system debugger, and it also works on Linux. The wrapper is free and open source and comes with the Rust toolchain. It has no GUI, and LLDB commands differ from GDB, so developers moving between the two need to adjust. IDE users may prefer CodeLLDB or RustRover for a graphical interface.

Standout: Ships with the Rust toolchain

Pricing pointer

Free (open source), as listed by the vendor (rust-lldb website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Ships with the Rust toolchain
  • good fit for macOS where LLDB is native

Drawbacks

  • Command-line only
  • LLDB command syntax differs from GDB

Skip it if this limit matters to you: command-line only.

Verdict. A sensible pick for terminal debugging with LLDB on macOS and Linux.

Alternatives in this guide: CodeLLDB, rust-gdb, RustRover

04

RustRover

Best for full IDE with an integrated Rust debugger

Visit jetbrains.com
RustRover homepage
RustRover homepage, captured Nov 2026

What it is and where it fits

RustRover is a JetBrains IDE built for Rust. Its debugger provides a graphical interface for breakpoints, stepping, variable inspection and expression evaluation, and it works with the LLDB backend on supported platforms. Debugging is part of the same tool that handles editing, refactoring and Cargo integration.

It runs on Windows, macOS and Linux. Pricing follows JetBrains subscription models, with a free trial and free options for some user groups such as students and open-source projects; check the vendor page for current terms. It suits developers who want one tool for editing and debugging and are willing to pay. Users who only need a debugger inside an existing editor can stay with CodeLLDB.

Standout: Graphical debugger integrated with the editor

Pricing pointer

See vendor pricing page, as listed by the vendor (RustRover website). Confirm the current plan price before you buy.

Free trial (30 days). Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Graphical debugger integrated with the editor
  • supports breakpoints, stepping and variable views

Drawbacks

  • Paid licence for continued use
  • heavier than an editor extension

Skip it if this limit matters to you: paid licence for continued use.

Verdict. A sensible pick for full IDE with an integrated Rust debugger.

Alternatives in this guide: CodeLLDB, rust-gdb, rust-lldb

05

Visual Studio

Best for debugging Rust on Windows with Microsoft tooling

Visit visualstudio.microsoft.com
Visual Studio homepage
Visual Studio homepage, captured Nov 2026

What it is and where it fits

Visual Studio can debug Rust on Windows through its C++ debugging tools. You build with the MSVC toolchain and debug the resulting binary using the Visual Studio debugger, which offers breakpoints, call stacks, watch windows and stepping. Rust-specific type display is more limited than with LLDB pretty-printers, so some values appear in raw form.

Visual Studio runs on Windows only. The Community edition is free, and paid editions add features; confirm current licensing on the vendor page. It suits Windows developers already using Visual Studio for C++ work. Developers on macOS or Linux, or those who want Rust-aware type display, should use CodeLLDB, rust-lldb or RustRover.

Standout: Mature graphical debugger

Pricing pointer

See vendor pricing page, as listed by the vendor (Visual Studio website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Mature graphical debugger
  • free Community edition

Drawbacks

  • Windows only
  • Rust support depends on C++ tooling and project setup

Skip it if this limit matters to you: windows only.

Verdict. A sensible pick for debugging Rust on Windows with Microsoft tooling.

Alternatives in this guide: CodeLLDB, rust-gdb, rust-lldb

06

rr

Best for record-and-replay debugging on Linux

Visit rr-project.org
rr homepage
rr homepage, captured Nov 2026

What it is and where it fits

rr records a program's execution and lets you replay it under GDB, stepping backward and forward through the recorded run. That helps with bugs that are hard to reproduce, because you can examine the same execution repeatedly. It works with GDB, so the Rust pretty-printers from rust-gdb apply during replay.

rr runs on Linux and requires a CPU and kernel that support the recording features. It is free and open source. It is not a general-purpose graphical debugger, and it does not replace an editor integration for day-to-day work. It suits developers chasing intermittent crashes or concurrency bugs who are comfortable with GDB commands.

Standout: Records execution and replays it deterministically

Pricing pointer

Free (open source), as listed by the vendor (rr website). Confirm the current plan price before you buy.

Free plan. Plans change, so confirm on the vendor's pricing page before you buy.

Benefits

  • Records execution and replays it deterministically
  • works with GDB

Drawbacks

  • Linux only
  • needs hardware and kernel support for recording

Skip it if this limit matters to you: linux only.

Verdict. A sensible pick for record-and-replay debugging on Linux.

Alternatives in this guide: CodeLLDB, rust-gdb, rust-lldb

Who should use what

VS Code users who want a graphical debugger should start with CodeLLDB. Terminal users on Linux should use rust-gdb, and macOS users should use rust-lldb. Developers who want editing and debugging in one paid IDE should look at RustRover, while Windows developers already in Visual Studio can debug Rust there. For intermittent bugs that are hard to reproduce, rr on Linux is the specialized choice.

Questions to settle before you buy

What to check before you buy

  • Confirm the debugger supports your operating system and target toolchain (MSVC or GNU on Windows).
  • Check that Rust pretty-printers load so standard library types display readably.
  • Verify the debugger works with your build profile; debug builds carry more information than release builds.
  • For IDE extensions, confirm the extension and LLDB versions are compatible with your editor.
  • For rr, check that your CPU and kernel support recording before relying on it.

FAQ

What is the best Rust debugger for VS Code?

CodeLLDB is the common choice. It is a free, open-source VS Code extension that connects the editor to LLDB and loads Rust pretty-printers. You add a launch configuration, often generated by Rust Analyzer, and then set breakpoints and step through code in the editor.

Do I need a separate debugger for Rust?

Not always. rust-gdb and rust-lldb ship with the Rust toolchain and load Rust pretty-printers. If you use an IDE or editor, you may need an extension or built-in debugger such as CodeLLDB or RustRover to get a graphical interface.

Can I debug Rust on Windows?

Yes. Visual Studio can debug Rust built with the MSVC toolchain, and CodeLLDB works in VS Code on Windows. RustRover also runs on Windows. Type display for Rust values is usually better with LLDB-based tools than with the Visual Studio debugger.

What is rr used for in Rust debugging?

rr records a program's execution on Linux and lets you replay it under GDB, stepping backward and forward. It helps with bugs that are hard to reproduce. It requires CPU and kernel support for recording and is not a replacement for a day-to-day editor debugger.

Are these Rust debuggers free?

CodeLLDB, rust-gdb, rust-lldb and rr are free and open source. Visual Studio has a free Community edition plus paid editions. RustRover is a paid JetBrains IDE with a free trial; check the vendor pricing page for current terms.

Sources we checked

Method: how we score · editorial policy.

  1. CodeLLDB (official site)
  2. rust-lldb (official site)
  3. rust-lldb (official site)
  4. RustRover (official site)
  5. Visual Studio (official site)
  6. rr (official site)

Change log. First published 27 Nov 2026.