Omniscient Debugging: rr and Pernosco
Blink2868 Tammi

Omniscient Debugging: rr and Pernosco

The provided text explores the rr and Pernosco debugger systems, which revolutionize software troubleshooting through record-and-replay technology. The open-source rr tool captures Linux application execution with minimal overhead, allowing developers to deterministically replay runs and utilize reverse debugging to trace bugs. Building upon this, Pernosco is a cloud-based omniscient debugger that precomputes program states into a searchable database for instantaneous analysis. These tools are particularly effective for resolving intermittent "heisenbugs" and complex concurrency issues that traditional debuggers often fail to reproduce. While rr is prized for its low-level efficiency on Intel CPUs, Pernosco enhances the workflow with automated dataflow navigation and collaborative web interfaces. Together, they represent a shift toward query-oriented debugging, significantly reducing the time required to root-cause errors in massive codebases like Chromium.