rr – record-and-replay debugger for Linux

rr is a record-and-replay debugger for Linux that captures a program’s execution and lets you replay the exact same run later inside gdb.

It’s designed to make difficult, intermittent, and low-level bugs easier to investigate by turning unreliable live debugging sessions into repeatable replays, and it can handle applications made up of multiple processes and threads.

This is free and open source software.

Key Features

  • Provides deterministic record and replay for Linux applications.
  • Extends gdb with efficient reverse execution.
  • Supports hardware data watchpoints during replay.
  • Can debug multi-process and multi-threaded workloads.
  • Offers low overhead compared to similar tools, especially for mostly single-threaded workloads.
  • Works with gdb scripting and IDE integration.
  • Creates durable, compact traces that can be moved between machines.
  • Includes a chaos mode to help reproduce intermittent bugs.

Website: github.com/rr-debugger/rr
Support:
Developer: rr-debugger
License: MIT License

rr is written in C++ and C. Learn C++ with our recommended free books and free tutorials. Learn C with our recommended free books and free tutorials.


Related Software

Debuggers
LLDBNext generation, high-performance debugger
GhidraSoftware reverse engineering framework
DelveSource level debugger for the Go programming language
GDBThe GNU Debugger
ValgrindA memory debugger and profiler
Radare2Portable reversing framework
XdebugExtension for PHP to aid debugging and development
iaitoGraphical interface for radare2
React Native DebuggerStandalone app for debugging React Native apps
KDbgGraphical user interface to GDB
straceDiagnostic, debugging and instructional userspace utility
cgdbLightweight console frontend to the GNU debugger
PuDBConsole-based visual debugger for Python
bashdbSource-code debugger for bash; follows the GDB command syntax
SysprofProfile an application or entire system
NemiverStandalone graphical debugger for GNOME

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments