Skip to content

Debugging status and plan #3

Open

Description

@nrc

What is the status of debugging Rust programs? How can we improve? Should include tools like profiling which are backed off debuginfo.

Activity

  1. oli-obk commented on May 17, 2017

    @oli-obk
    Contributor

    miri can be used to debug small programs at the MIR-level. It detects many cases of undefined behaviour. There's also cargo miri which runs miri on all #[test] functions in the library or in the test directory.

  2. Manishearth commented on May 17, 2017

    @Manishearth
    Contributor

    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.

  3. fitzgen commented on May 17, 2017

    @fitzgen
    Contributor

    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

  4. Manishearth commented on May 17, 2017

    @Manishearth
    Contributor

    The expression evaluation stuff keeps breaking because Rust keeps changing/breaking how it does paths in debuginfo.

  5. tromey commented on May 17, 2017

    @tromey

    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.

  6. Manishearth commented on May 17, 2017

    @Manishearth
    Contributor

    (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)

  7. tromey commented on May 17, 2017

    @tromey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions