Re:Rust, RR, Neovim: A perfect debug combination
by galangalalgol on Tuesday April 11, 2023 @07:04AM
(#35523389)
I find myself using the debugger to explore complex types created by procedural macros. You can use cargo to expand them andnpoke around, or dump the structure to debug if it derives it, but sometimes the debugger seems easier.
Also it can help find why something three crates deep into your dependency tree panicked.
But I still find it helpful when you need to check what's wrong in other people's code, since they might not design with types like I do.