rr-debugger / rr-debugger/rr

[Question] rr-debugger as a library?

Open
#3,632 6 comments 1 reaction 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

Would it be possible to use rr-debugger as a library? I have a use case where I want to record the execution of all my tests and only keep the record if the test failed (and do that programatically).

I'm wondering if it is possible to call RecordCommand::run() before executing my test. Maybe this doesn't make sense but I can see a real advantage of being able to at least record by using some APIs from a library.

Thanks for your time.

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 examining the public entry points around RecordCommand::run() and how rr currently records executions. Determine whether recording can be invoked programmatically for tests and whether a record can be retained only after failure; document the supported approach or the scope of an API change.

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
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.