Does rr require debug builds? Like if I took a random executable on Linux and used rr record, would rr replay work?
When you debug an optimized build with debug info in gdb by stepping line by line, it is easy to accidentally step "too far" and completely lose your place. In rr, you can always step back and recover.