Rust’s Miri debugger lets developers step through undefined behavior
Rust’s Summer of Code report describes a revived interactive debugger for Miri, the interpreter that detects undefined behavior in unsafe Rust. The project connects Miri to GDB so developers can set breakpoints, step through instructions and inspect interpreter state. Basic editor integration also exists, although connecting an IDE still needs more work than using a normal debugger.
Rust Project · Nov 11, 2026
Why it matters
Inspecting the state behind an undefined-behavior report can explain failures that an error message alone leaves unclear.
More context
Mohamed Ali also added a command-line interface exercised by Miri’s CI to reduce maintenance drift. The report covers 13 projects; this card focuses on the debugger. Watch the linked priroda project and try it on a small unsafe example before relying on it.
Keep in mind
This is contributor tooling reported by the Rust team, not a stable debugger bundled into every Rust installation. IDE support is basic; setup and platform compatibility need checking against the project.
Original read