Please provide rustup wrapper rust-rr, like rust-gdb but for rr
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 22h 40m
- Merged PRs (30d)
- 46
Description
I would like to use rr (the time travelling debugger) with Rust.
I found the following resources:
- https://rr-project.org/ contains instructions on using rr
- rustup's
rust-gdbwrapper, which seems from looking at strace to do some gdb configuration - https://gist.github.com/spacejam/15f27007c0b1bcc1d6b4c9169b18868c https://gist.github.com/spacejam/0ec039d4b3bb0ac976245975de8f3a25 gists on how to use rust with rr, and with rust pretty printers.
I'm not sure precisely how the information/configuration from these sources should be combined, particularly given that the behaviour of rust-gdb is rather opaque (see #2532). Probably some experimenting would determine the right combination of things, and then we could have a rust-rr wrapper.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading rustup's existing rust-gdb wrapper, then compare its behavior with the rr-project instructions and the two linked Rust-with-rr gists. Determine which debugger configuration and Rust pretty-printer setup the wrapper needs; done means a rust-rr command works reliably with Rust programs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100