Ben Chuanlong Du's Blog

It is never too late to learn.

Debug a Rust Application

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Debugging Rust in VSCode

  1. Install the extension CodeLLDB .

  2. Uncheck "Pause on panic" (checked by default).

Debug Rust Using rust-gdb

Debug Rust Using rust-lldb

Debug Rust Using rr

is a lightweight tool …