Demystifying Rust Debugging

Debugging Rust code can feel like navigating uncharted waters — especially when the tools were originally built for C and C++. In this talk, we’ll explore the key components of the Rust debugging experience across platforms, from compiler-generated debug info (DWARF/PDB) to console-based and GUI-based debuggers like GDB, LLDB, VSCode/CodeLLDB, WinDBG, and RustRover. We’ll break down what goes into debug info, what gets lost in translation, and how that affects your ability to introspect values and types.

LEVEL: Intermediate

Place
RustLab Deep Space
Length
45 min
When
November 3rd, 2025
15:15

Abstract

Debugging Rust code can feel like navigating uncharted waters — especially when the tools were originally built for C and C++. In this talk, we’ll explore the key components of the Rust debugging experience across platforms, from compiler-generated debug info (DWARF/PDB) to console-based and GUI-based debuggers like GDB, LLDB, VSCode/CodeLLDB, WinDBG, and RustRover. We’ll break down what goes into debug info, what gets lost in translation, and how that affects your ability to introspect values and types. You’ll learn how to effectively use breakpoints, inspect variables, explore the call stack, and even modify state at runtime. We’ll cover the role of pretty-printers and the Natvis framework in making Rust values human-readable. We’ll try to see why interactive debugging often beats print-style debugging. Finally, we’ll tackle common troubleshooting scenarios — like vanishing variables and stubborn breakpoints — to help you make sense of what the debugger is really telling you.
Whether you’re a seasoned Rustacean or just stepping into systems programming, this talk will sharpen your debugging instincts and demystify the tools at your fingertips.

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2025 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS