rr_record
Record a full program execution to capture a deterministic trace for time-travel debugging.
Instructions
Record a full program execution with rr for time-travel debugging. Step 1 of the rr workflow.
Runs the program to completion and captures a deterministic trace. Returns trace_dir, which is passed to start_replay_session to begin debugging. Crashes and non-zero exit codes are normal and recorded as part of the trace — they do not indicate failure. The program's stdin is not available during recording.
binary: path to the executable to record args: command-line arguments for the binary cwd: working directory (defaults to current directory) timeout: maximum seconds to wait for the program to finish (default 5 min)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| args | No | ||
| binary | Yes | ||
| timeout | No |