Re:Instant replay: Debugging C and C++ programs with rr
by sanxiyn on Tuesday May 04, 2021 @09:04PM
(#27044877)
rr is approximately infinitely faster than GDB reverse debugging. rr's innovation is low overhead reverse debugging.
rr's typical overhead is 20% -- 2x overhead is considered unacceptable for rr. You could reverse debug coreutils with GDB fine, but it won't work for Firefox. That's why rr was written.
Re:Instant replay: Debugging C and C++ programs with rr
by khuey on Tuesday May 04, 2021 @11:59PM
(#27046037)
You shouldn't need to learn much. rr uses gdb's existing reverse-debugging UI commands, it just swaps out the backend implementation with a far more powerful version.
rr's typical overhead is 20% -- 2x overhead is considered unacceptable for rr. You could reverse debug coreutils with GDB fine, but it won't work for Firefox. That's why rr was written.