-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debugging status and plan #3
Comments
miri can be used to debug small programs at the MIR-level. It detects many cases of undefined behaviour. There's also |
I and tromey maintain the gdb rust integration. I would like to work on lldb Rust, but I won't have time till stylo is over. |
I think a lot of upstream work needs to funnel into gdb and lldb, I'm constantly running into papercuts using them. Things like expression evaluation off a bit, setting a breakpoint on a not-fully-qualified function name (and dealing with the hash), etc. I'll try to jot them down as I run into them so that I have something more concrete here. cc @tromey |
The expression evaluation stuff keeps breaking because Rust keeps changing/breaking how it does paths in debuginfo. |
Here's my plan: https://docs.google.com/document/d/1a2v0ro40vy3z-Np44CF-5v6THH9Huy_Dtp8-aUIdgkM/edit#heading=h.3bhlq7o1wouo It links to the DWARF binding plan as well. This is what I want to work on, I'm just looking for the time and/or slot in Moz. @fitzgen either file gdb bugs or just email me and I will file them for you. I work on the gdb rust bugs as time permits. |
(cc me on them. I do have time to fix things in gdb. just not to go and do big heaps of work to make lldb work) |
Try this instead, may only work at moz for now: https://docs.google.com/a/mozilla.com/document/d/1a2v0ro40vy3z-Np44CF-5v6THH9Huy_Dtp8-aUIdgkM/edit?usp=sharing |
What is the status of debugging Rust programs? How can we improve? Should include tools like profiling which are backed off debuginfo.
The text was updated successfully, but these errors were encountered: