start_replay_session
Begin a replay session for time-travel debugging using a previously recorded trace. Returns a session ID to control execution forwards and backwards.
Instructions
Start an rr replay session for time-travel debugging. Step 2 of the rr workflow.
Call rr_record first to produce a trace, then call this tool. The returned session_id works with all standard tools (breakpoint, run, continue_exec, step, backtrace, print, …). In addition, four reverse-execution tools let you run the program backwards: reverse-continue — run backwards to the previous breakpoint or watchpoint reverse-step — step backwards one source line or instruction (enters calls) reverse-next — step backwards one source line or instruction (skips calls) reverse-finish — run backwards to where the current function was called Breakpoints and watchpoints trigger in both directions.
trace_dir: trace directory from rr_record; omit to replay the most recent recording cwd: working directory for rr (defaults to current directory)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| trace_dir | No |