Get the latest tech news

rr – record and replay debugger for C/C++


Start by using rr to record your application: $ rr record /your/application --args ... FAIL: oh no! The entire execution, including the failure, was saved to disk.

rr features: Low overhead compared to other similar tools, especially on mostly-single-threaded workloads Supports recording and replay of all kinds of applications: Firefox, Chrome, QEMU, LibreOffice, Go programs, ... Record, replay and debug multiple-process workloads, including entire containers Works with gdb scripting and IDE integration Durable, compact traces that can be ported between machines Chaos mode to make intermittent bugs more reproducible With normal debuggers, information you learn during the debugging session (e.g. the addresses of objects of interest, and the ordering of important events) often becomes obsolete when you have to rerun the testcase. So we hoped that if we built a low-overhead record-and-replay system that works well on the applications we care about (Firefox), we could build a really usable backend for gdb's reverse execution commands.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of record

record

Photo of replay

replay

Photo of C++

C++

Related news:

News photo

Multisatellite data depicts a record-breaking methane leak from a well blowout

News photo

Visual programming should start in the debugger

News photo

Charge less, power more: Zinc-bromine battery tech hits record 10,000 charge cycles