rr-debugger / rr-debugger/rr

run sometimes goes beyond event

Open
#2,201 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
10.7k
Forks
662
Avg merge
2d 3h
Merged PRs (30d)
2

Description

the tutorial says in https://github.com/mozilla/rr/wiki/Usage

If you want to restart replay at a different event, you can pass the event number as an argument to the gdb run command

however sometimes I can write run 10 and get to the 11 event, but a lot of stuff happens on 10 before that.

Is that normal, and if so , is there a better way than looping with smaller and smaller event arg to go to 10?

Thanks for a great tool!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the rr Usage wiki section about restarting replay with the GDB run command, then investigate how event numbers are interpreted during replay. Confirm whether the observed behavior is expected and document the supported way to reach a specific event, if one exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
devtools, operating-systems
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.