We (PyPy developers) tried this and it's unusably slow. I don't know how they got that slow, but it takes a bit forever to execute 10mln instructions. We ended up using UndoDB gdb wrapper, which runs slower than they advertise (+- the same speed as valgrind so say 30x give or take), but is a lot more usable. They had stability problems in the past, but with the recent versions, we're able to run stuff like complex python programs on top of pypy on top of UndoDB, which is very impressive. Very useful for hard GC bugs.
I have a more modest request:<p>Could debuggers please store the code paths and variable values, over the last 50 executions or perhaps the test suite (deterministic)? This is particularly useful for understanding someone else's code.<p>[edit: a context-free version of reverse debugging]<p>I've recently been enjoying using IntelliJ for Scala, because it can show me types, and jump to type declarations, and usages.<p>However, I still have to do a bunch of print debugging when trying to understand someone else's code, because I want to understand what values certain variables take. This is a pain using a compiler as slow as Scala.<p>Something that captured relevant information, so that it would be easier + faster to do print debugging against previous code runs or the test suite, would be awesome.
For Java, if it still runs: <a href="http://www.lambdacs.com/debugger/" rel="nofollow">http://www.lambdacs.com/debugger/</a><p>I really like the idea. Never knew GDB had implemented it (thanks for the link!). I'll <i>definitely</i> try this out :)