RevDB, a Reverse Debugger
summary
RevDB records a PyPy run to a disk record/replay log (a few MB/s, ~2–3× overhead) and replays it with exact I/O so execution can be stepped both forward and backward. It implements pdb-like commands plus watchpoints that work backward and forward and identity-based watches (dollar0, dollar1) to track exact objects. It supports multi-threaded replay thanks to PyPy's GIL, but struggles with long runs (hours), Windows, and objects whose __repr__ triggers I/O; it is usable and fixed a real bug in about an hour.
AI-written summary · about
