What problem does it solve?
This Skill enables deterministic debugging of crashes and ASAN faults by using rr's record-replay capabilities and reverse execution to observe, step back, and trace the sequence leading to failures.
Core Features & Use Cases
- Deterministic, reverse-execution debugging with rr, including reverse-next, reverse-step, and reverse-continue.
- Crash trace extraction and state inspection across records to identify root causes.
- Works for regular crashes and ASAN faults, with easy workflow from recording to replaying and tracing.
Quick Start
Use rr to record a crashing program: rr record <program> [args], then replay the recording with rr replay and navigate backward in time using reverse-next, reverse-step, and reverse-continue to identify the fault. When ready, run the included automation script to extract an execution trace: python3 scripts/crash_trace.py