Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Debugging Rust in VSCode
-
Install the extension CodeLLDB .
-
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 for recording, replaying and debugging execution of applications (trees of processes and threads). Debugging extends gdb with very efficient reverse-execution, which in combination with standard gdb/x86 features like hardware data watchpoints, makes debugging much more fun.