rr is the debugger (on Linux) that’s almost too good to be true.
May I ask which platform you are working on? I cannot get rr to build on Ubuntu 14.04, because of issues installing the dependencies.
I installed 4.0 from the .deb fine, and then later I built it from source without issues (
apt-geting the debs just worked), both on Ubuntu 15.04.