News for hackers. Stuff that matters.
Re:Introducing Rust Language Server by retep998 on Wednesday October 19, 2016 @12:12AM (#12741019)
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.
Re:Introducing Rust Language Server by Rusky on Wednesday October 19, 2016 @12:49AM (#12741155)
Oh, that's fantastic- how recent is this? Last time I tried debugging an -msvc binary was only a couple months ago.
Re:Introducing Rust Language Server by retep998 on Wednesday October 19, 2016 @08:24AM (#12743112)
It might have been due to either 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.