~/talk

Demistifying Rust Debugging

Talkat RustLab 2025 · 2025-11-03..11-04· [rust]
slides:none on file

Survey shows >50% still use println, ~31% use IDEs, 10% use GDB/LLDB and 6% never debug, and the talk maps why: debug info comes from DWARF/PDB, debuggers are vanilla GDB/LLDB/WinDBG with UI frontends and Rust-specific behavior is added by rust-lldb/rust-gdb pretty-printers (Python synthetic providers) and private forks, which break when Vec internals change. A working prototype compiles expressions to MIR-based expression eval and ships partial compiler output to the debugger for better runtime evaluation.

AI-written summary · about

  1. 0:00Rust debugging intro
  2. 1:11Common Rust debugging methods
  3. 2:58Why print debugging
  4. 9:05Debugging formats and operating systems
  5. 10:53Low-level debuggers
  6. 13:01Vanilla LLDB with Rust
  7. 16:14Rust debuggers and printers
  8. 20:55History of debugger forks
  9. 24:32Pretty printers for Rust
  10. 27:42LLDB processing Rust vars
  11. 31:20Debug/display trait limits
  12. 33:50Evaluating debugger expressions
  13. 36:16Rust debugging quick guide
  14. 38:45Interactive debugging benefits
  15. 40:30Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.