When debugging Rust programs using LLDB (rust-lldb, specifically) line numbers are often very off. I’m not sure if this is because of macro expansion or something else, but it currently makes it almost unusable.
I think we would appreciate bug reports with specific problematic cases.
It shows up for any code with macros in it, as far as I can tell.
It seems just trying to debug servo and webrender makes this problem happen. I’m on OS X El Capitan with a custom build llvm from brew. For example, trying to set a breakpoint of frame.rs:794, I’m getting the breakpoint hit but it’s actually line 1177. This makes it really hard to debug also as breakpoints I’m expecting to get hit aren’t being hit.
Any update on this yet?