Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

rr

> 开发工具
Open source

Record and Replay Framework

10.6K stars0 likes1 views
WebsiteGitHub

About

Record and Replay Framework

Overview

rr is a lightweight tool for recording, replaying and debugging execution of applications (trees of processes and threads). Debugging extends gdb with very efficient reverse-execution, which in combination with standard gdb/x86 features like hardware data watchpoints, makes debugging much more fun. More information about the project, including instructions on how to install, run, and build rr, is at https://rr-project.org. The best technical overview is currently the paper Engineering Record And Replay For Deployability: Extended Technical Report.

Or go directly to the installation and building instructions.

Please contribute! Make sure to review the pull request checklist before submitting a pull request.

If you find rr useful, please add a testimonial.

rr development is sponsored by Pernosco and was originated by Mozilla.

System requirements

  • Linux kernel >= 4.7 (for support of __WALL in waitid())
    • rr 5.6.0 worked with kernel 3.11 (requiring PTRACE_SETSIGMASK)
  • rr currently requires either:
    • An Intel CPU with Nehalem (2010) or later microarchitecture.
    • Certain AMD Zen or later processors (see https://github.com/rr-debugger/rr/wiki/Zen)
    • Certain AArch64 microarchitectures (e.g. ARM Neoverse N1 or the Apple Silicon M-series)
  • Running in a VM guest is supported, as long as the VM supports virtualization of hardware performance counters.
    • Some configurations of VMware and KVM are known to work.
    • Some configurations of AWS and GCP VMs are known to work.
    • No configurations of Xen are known to work.

Issues· 482 open

View all issuesOpen on GitHub
  • #4096

    tests using jq (traceinfo) should be skipped if it isn't available

    Updated Sep 14, 2026
  • #4042

    CPU report: Intel Atom x6212RE

    Updated Sep 6, 2026
  • #3518

    rr record seems to loop infinitely in 32-bit x86 with certain system calls

    Updated Sep 6, 2026
  • #4093

    Possible issue with running rr with newer kernel, Debian 7.1.3-1~bpo13+1.

    Updated Aug 20, 2026
  • #4059

    Assertion copy_file_range for monitored fds not supported yet

    Updated Aug 19, 2026
  • #4090

    Unsupported Syscall futex_waitv

    Updated Aug 9, 2026
  • #2037

    Add support for time bisection

    Updated Jul 31, 2026
  • #3796

    risc-v support

    Updated Jul 21, 2026
  • #3972

    Replaying a Wine recording triggers `Assertion 'ticks_now == trace_ticks'`, mmap with MAP_PRIVATE

    Updated Jul 19, 2026
  • #4060

    rr hits a fatal assert and prevents further replay

    Updated May 14, 2026

> Tags

C++debuggergdblinuxreverse-execution

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category开发工具
PricingOpen source

> Related tools

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具