4 ms·
The latest gdb also contains a reversible mode. Anybody can comment on how does it compare with rr? I have only tried myself the reversible debugger in ocaml,
by e98cuenc 13y ago
The latest gdb also contains a reversible mode. Anybody can comment on how does it compare with rr?
I have only tried myself the reversible debugger in ocaml, and it was an eye opening experience.
- sanxiyn 13y agoThe critical word is "low-overhead". gdb's implementation is orders of magnitude slower. On the other hand, rr can't do reverse debugging.
- moyix 13y agoThe lack of reverse debugging isn't an inherent limitation. One could index the replay and take micro-checkpoints along the way; then when you want to step backward, you rewind to the last checkpoint and play forward until you hit the previous instruction.
- fijal 13y agogdb reversible mode is useless for anything other than a toy example. We never got to the point where you can e.g. start the PyPy process, not to mention do anything with it. We had much more luck with UndoDB, but this one is still ~20x slower than native.