Debugging Rust in 2026: prints, GDB and LLDB, RustRover and AI agents
The article reviews ways to debug Rust in 2026, citing a Rust debugging survey. In it, 53.2% of users do not use a debugger at all, and 81.3% say print statements are simply easier or faster. The share of users who use a debugger rose from 36% in 2021 to 46.8%, but the author says setup is hard and stepping often breaks with async (28.1%) and macros (23.0%).
The author demonstrates the options on the Graham scan algorithm, which computes the convex hull[1] of a set of points. The bug in the example sorts points with the same polar angle from farthest to nearest. The article compares println! and dbg!, rust-gdb and rust-lldb with breakpoints[2], and RustRover's graphical debugger, which is free for non-commercial use.
Starting with RustRover 2026.3, the IDE's built-in MCP server[3] lets agents such as Codex and Claude Code start debug sessions, set breakpoints, read variables and evaluate expressions. It is enabled in Settings → Tools → MCP Server, and then Auto-Configure is clicked next to the agent. The author concludes that each debugging approach has its own trade-offs.
Read the original blog.jetbrains.comDiscussion
Sources
-
The JetBrains Blog
Debugging Rust in 2026


