Hacker GitHub

← All repos

rr-debugger/rr

View on GitHub ↗ ★ 10,732 C++

Record and Replay Framework

68 mentions on Hacker News by 57 people: 1 story, 67 comments · first 2014-03-26 · latest 2025-06-28

Mentions per year 68 mentions · busiest year 2019 (11)
20082026
  1. Have you ever used rr though? https://github.com/rr-debugger/rr
  2. …basically do not work in WSL2, which among other issues, makes it extremely difficult to use rr. https://github.com/rr-debugger/rr/issues/2506#issuecomment-2... Some people say they got it working, but I and many other users encounter…
  3. …explanation is simplified of course. There are some plans to deal with io_uring by rr maintainers https://github.com/rr-debugger/rr/issues/2613
  4. You probably need the fix from this page: https://github.com/rr-debugger/rr/wiki/Zen
  5. …can then copy over to the real process whenever, and get to record when it happens while at it (see https://github.com/rr-debugger/rr/issues/2613 ). But such can introduce large delays, thereby changing execution characteristics (if not…
  6. rr took about 9 years to get first class aarch64 support. https://github.com/rr-debugger/rr/issues/1373
  7. …community edition is open source, so maybe it's worth checking if it is reproducible in that. [1]: https://github.com/rr-debugger/rr
    comment by NobleExpress · 2024-04-10 · in Deep Bug
  8. …on Linux kernel insides, like rr debugger, which depends on some specific of linux ptrace(2): https://github.com/rr-debugger/rr?tab=readme-ov-file#system-...
    comment by artsi0m · 2024-01-09 · in OpenBSD KDE Plasma Desktop
  9. There it is! https://github.com/rr-debugger/rr/issues/1373
  10. …I had to use sudo a few times, reboot, see some scary warning that it might not work reliably, read https://github.com/rr-debugger/rr/wiki/Will-rr-work-on-my-sy... and https://github.com/rr-debugger/rr/wiki/Zen .
    comment by akkartik · 2023-03-10 · in What a good debugger can do
  11. …GDB is. Ugh. Looks like there's some support / guidance for using an IDE interface to rr's GDB - https://github.com/rr-debugger/rr/wiki/Using-rr-in-an-IDE There's also Pernosco https://pernos.co/ which is a cloud service (hosted versions…
    comment by mark_undoio · 2022-08-23 · in Reverse Debugging and Other Stories
  12. I think https://github.com/rr-debugger/rr/issues/2034#issuecomment-6... is the right synopsis.
    comment by vchuravy · 2022-06-04 · in What rr does
  13. FWIW, rr integrates into gdb, so it should be possible to use anything that integrates with gdb. https://github.com/rr-debugger/rr/wiki/Using-rr-in-an-IDE
    comment by jchw · 2022-06-04 · in What rr does
  14. …debug session pointing at the last recorded event, whatever that was'. Details in the usage page: https://github.com/rr-debugger/rr/wiki/Usage AIUI you get 'start at an event' basically for free, because 'step backward' is implemented as…
    comment by pm215 · 2022-06-04 · in What rr does
  15. https://github.com/rr-debugger/rr#system-requirements : "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)"
    comment by stefantalpalaru · 2022-06-04 · in What rr does
  16. …I first needed to find the number of events to skip for that part of the replay. See this issue: https://github.com/rr-debugger/rr/issues/1687 By the time I got to the point where a reverse continue would’ve been most useful, I’d already…
  17. "Support ARM" #1373 https://github.com/rr-debugger/rr/issues/1373 rr (software) https://en.wikipedia.org/wiki/Rr_(debugging) Record and replay debugging https://en.wikipedia.org/wiki/Record_and_replay_debugging /? site:github.com…
    comment by westurner · 2022-03-23 · in Debugging with GDB
  18. …interact with the program, changing the history if desired, and watch how the program responds.[5] https://github.com/rr-debugger/rr : > System requirements: Linux kernel ≥ 3.11 is required (for PTRACE_SETSIGMASK). > rr currently requires…
    comment by westurner · 2022-03-23 · in Debugging with GDB
  19. Sorry, this issue is what I was referring to as what I would like to be able to do: https://github.com/rr-debugger/rr/issues/1622 I might have been too down on rr, it is a very cool tool! Wasm doesn't have great debugging support right…
    comment by miloignis · 2021-06-03 · in Making JavaScript run fast on WebAssembly
  20. …work (at least if you have sufficiently new software bits) so may be worth giving it another go: https://github.com/rr-debugger/rr/issues/2806
    comment by vlovich123 · 2021-06-03 · in Making JavaScript run fast on WebAssembly
  21. …the last time I looked at it. edit - only very recently (sep. 2020), and it's still experimental: https://github.com/rr-debugger/rr/wiki/Zen
  22. See https://github.com/rr-debugger/rr/wiki/Zen for details. (And since https://github.com/rr-debugger/rr/pull/2847 , I think all 5000-series CPUs and APUs should be supported.)
  23. There is experimental support for ARM. https://github.com/rr-debugger/rr/issues/1373 Also, Undo works on ARM.
    comment by roca · 2021-04-27 · in Print Debugging Should Go Away
  24. …plug in rr to get time travel features? I haven't tried that, but apparently it should work: https://github.com/rr-debugger/rr/wiki/Using-rr-in-an-IDE > What about Pernosco? The way I understand what Pernosco is (a recording), I would…
    comment by incrudible · 2021-04-27 · in Print Debugging Should Go Away
  25. https://github.com/rr-debugger/rr/issues/2034#issuecomment-6... https://github.com/rr-debugger/rr/blob/master/scripts/zen_wo...
    comment by garaetjjte · 2021-03-25 · in Intel PIII: Is Big Brother Inside? (1999)
  26. …This is back when working on a cross platform C++ project if that much weren't already clear). [0] https://github.com/rr-debugger/rr/issues/1373#issuecomment-1...
    comment by mijoharas · 2021-01-29 · in Looking for More Debugger
  27. …a gdb port but probably won't have a rr port. It looks like some changes have been made recently: - https://github.com/rr-debugger/rr/issues/1373 - https://github.com/rr-debugger/rr/issues/2034
    comment by cipherboy · 2020-12-13 · in The State of Linux Debuggers
  28. I have some thoughts about io_uring support in rr: https://github.com/rr-debugger/rr/issues/2613
  29. …of having to debug JIT-compiled code with an ABI mismatch, I can't overstate how useful `rr` ( https://github.com/mozilla/rr ) can be to debug assembly. The ability to `rsi` e.g. reverse step instruction is very powerful. One tool that I…
    comment by wallnuss · 2020-10-18 · in How Does a C Debugger Work? (2014)
  30. …to be available[1], which would enable trace portability for traces recorded on EC2. [0] https://github.com/mozilla/rr [1] https://github.com/mozilla/rr/issues/2667
  31. …on GitHub [3]. Please give me your feedback and comments! Contributions to `rd` are welcome! [1] https://github.com/mozilla/rr [2] https://github.com/sidkshatriya/me/blob/master/001-rd-intro.... [3] https://github.com/sidkshatriya/rd
  32. …stream out 2160p60 without problematic visual artifacts. [0]: https://rr-project.org/ [1]: https://github.com/mozilla/rr/issues/2034#issuecomment-58361... [2]: I have not found serious competitive benchmarks for the recent AMD hardware…
  33. …which is an amazing productivity enhancer for C/C++ development, still doesn't support AMD: https://github.com/mozilla/rr/issues/2034
    comment by alexhutcheson · 2020-03-01 · in Why Cloudflare Chose AMD EPYC for Gen X Servers
  34. …are also some tools that are not well optimized or don't yet fully support AMD yet. For example: https://github.com/mozilla/rr/issues/2034 This year's release of Zen 3 looks very promising. Hopefully RAM manufacturers wake up and we also…
  35. …both of these will be fixed since it doesn't seem that AMD is missing anything intrinsicly. [1] https://github.com/mozilla/rr/issues/2034
  36. Changing that is a work in progress: https://github.com/mozilla/rr/issues/2034
  37. https://github.com/mozilla/rr/issues/1373 is tracking that, but the short story is that ARM seems to not provide enough performance counters to make the current rr approach work at the moment. So it would take either CPU-side changes or a…
    comment by bzbarsky · 2019-11-27 · in Debuggers Suck
  38. FWIW, rr support for AMD CPUs is getting close. See https://github.com/mozilla/rr/issues/2034#issuecomment-55649...
    comment by glandium · 2019-11-27 · in Debuggers Suck
  39. The only real negative one is that rr ( https://github.com/mozilla/rr ) is not available on Ryzen for now. Other than that, you are safe.
  40. They have been working on AMD support, see for example: https://github.com/mozilla/rr/issues/2034 The problem is that AMD CPUs have lots of bugs in their performance counter implementation. Intel CPUs don't have those bugs. With newer…
  41. When I was building a PC last December, I considered AMD until I saw that https://github.com/mozilla/rr requires an Intel processor. > rr currently requires an Intel CPU with Nehalem (2010) or later microarchitecture. I don't even use rr…
  42. https://github.com/mozilla/rr/issues/2034
  43. The mozilla/rr debugger doesn't work on Ryzen CPUs - https://github.com/mozilla/rr/issues/2034 (rr stands for Record and Replay Framework, it's a gdb extension which allows for reverse execution)
  44. …allows you to go back in time, already exists for compiled languages in the form of a gdb plugin: https://github.com/mozilla/rr
    comment by tomsmeding · 2019-04-22 · in JavaScript debuggers are broken
  45. …written from scratch in Julia - Mixed debugging between Julia and C/C++ code - Integration with https://github.com/mozilla/rr for time traveling debugging - Debugging windows programs running on a linux host under wine (and in particular…
    comment by KenoFischer · 2019-03-21 · in A Julia Interpreter and Debugger
  46. …debugging is super powerful and fast enough to be useable. For this use case on Linux, there's rr: https://github.com/mozilla/rr/
  47. Ryzen's performance counters aren't quite accurate enough for rr to use. https://github.com/mozilla/rr/issues/2034 I hope that AMD will fix this one day.
  48. Sure, I just added it here: https://github.com/mozilla/rr/issues/1373#issuecomment-43627...
  49. …times can vary even if identical branches are taken. Longer / better description at this URL. https://github.com/mozilla/rr/issues/1373
  50. The upstream issue with discussion about Arm support is https://github.com/mozilla/rr/issues/1373 -- the underlying problem is that rr's design assumes that if you execute N instructions you'll always deterministically end up in the same…