4 ms·
Actually, the PDB debug info has variable and type information and a lot of it actually works. There's just a few minor issues here and there with stuff like fa
by retep998 10y ago
Actually, the PDB debug info has variable and type information and a lot of it actually works. There's just a few minor issues here and there with stuff like fat pointers.
- Rusky 10y agoOh, that's fantastic- how recent is this? Last time I tried debugging an -msvc binary was only a couple months ago.
- retep998 10y agoIt might have been due to either https://github.com/rust-lang/rust/pull/31319 https://github.com/rust-lang/rust/pull/31319 or an LLVM upgrade. But stuff like looking at the values of basic integer types, the fields of structs, tuple fields, thin pointers, and even many enums works fine. You just have to make sure you have debug info enabled. Keep in mind std in the Rust distribution was built without debuginfo, so if you step into functions from that, things don't work too well.