rr-debugger / rr-debugger/rr

reverse-continue to a checkpoint

Open
#2,131 4 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

I often want to use the following workflow:

  1. Mark where I currently am
  2. Go forward a bit
  3. Go back to the place I marked

I can do the first with when, which gives me an event number that marks my position, but the only way I know to do the third is with run <event-number>, which restarts the replay from the beginning.

I'd like to be able to reverse-continue to the marked event instead. Depending on how long the replay is and how far I've gone forward from the marked place, that can be significantly faster than starting from the beginning.

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 by tracing how the when command records an event number and how run <event-number> handles replay from the beginning. Determine how a reverse-continue operation could target the marked event while reusing the current replay position. Done means the requested workflow can return to that checkpoint without restarting from the beginning.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.