Re:Rr 4.0 Debugger Released with Reverse Execution
by kibwen on Saturday October 24, 2015 @01:34AM
(#10442575)
How much of rr is C++-specific? I know of a few other compiled languages out there that would love to have a tool like this.
[ Parent
| on HN ]
Re:Rr 4.0 Debugger Released with Reverse Execution
by dbaupp on Saturday October 24, 2015 @03:18AM
(#10442772)
As I understand it, not much. It seems to work fine with Rust, for instance.
Re:Rr 4.0 Debugger Released with Reverse Execution
by roca on Saturday October 24, 2015 @04:45AM
(#10442932)
That's correct. Anything you can debug with gdb should be debuggable under rr. (Though of course there could always be rr bugs that need to be fixed.)
Languages where debugging requires complex VM services are another story. For example, if your language supports debugging by modifying the code generated by a JIT, that's going to be a problem under rr, since an rr replay preserves the exact instructions executed during recording.
Re:Rr 4.0 Debugger Released with Reverse Execution
by barrkel on Saturday October 24, 2015 @09:47AM
(#10443575)
Debugging a non-trivial application with gdb without gdb crashing is quite a feat, however. Hopefully rr is less prone to segfaulting. Gdb is easily the least stable standard debugger I've used on any preemptive scheduling OS.