by LegionMammal978 · 2y ago · 0 comments
That is, I very often find a narrow view of the program state over the whole computation to be more informative than a wide view of the program state at any particular moment in time.
This is indeed a problem people have with debuggers, so some very smart people found a way to fix it.
Not true. rr (and time travel debugging in general) really excels at exactly that problem. You just put a watchpoint on the offending data at the 'obvious error', and reverse-continue. This usually takes you straight to the root-cause. It's incredibly powerful.
(Disclaimer, I'm not exactly unbiased as I work on another time-travel debugger, https://undo.io)
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Rever...