4 ms·
Something I would love to have is a debugger for an interpreted language which visualises the program's state as a graph, say, and you can wind time forward and
by lubutu 15y ago
Something I would love to have is a debugger for an interpreted language which visualises the program's state as a graph, say, and you can wind time forward and back. Then, as you make changes to the code the visualisation updates according to what the program's state would have been at this point in the program had it been running the updated code. To me that would feel like magic.
- anamax 15y ago> Something I would love to have is a debugger for an interpreted language which visualises the program's state as a graph, say, and you can wind time forward and back. see "debugging backwards in time" by Bil Lewis (yes, one "L" in each word.) http://www.lambdacs.com/debugger/AADEBUG_Mar_03.pdf http://www.lambdacs.com/debugger/AADEBUG_Mar_03.pdf
- kaens 15y agoHe gave a talk at google on the subject, it's a great watch: http://video.google.com/videoplay?docid=3897010229726822034 http://video.google.com/videoplay?docid=3897010229726822034
- JoachimSchipper 15y agogdb does this: http://sourceware.org/gdb/news/reversible.html http://sourceware.org/gdb/news/reversible.html, http://sourceware.org/gdb/onlinedocs/gdb/Checkpoint_002fRestart.html http://sourceware.org/gdb/onlinedocs/gdb/Checkpoint_002fRest... (Linux-only, so I've never used those features.) Slapping a nicer interface on it is left as an exercise to the reader. ;-)
- deleted 15y ago[deleted]
- vdm 15y agoIn Python: http://people.csail.mit.edu/pgbovine/python/ http://people.csail.mit.edu/pgbovine/python/
- sp332 15y agoThis actually exists in the IDE for Inform7, a DSL for writing interactive fiction (text adventure) games. The feature is called "Skein", and it will graph all your playtests, and highlight in red which ones changed after you change your code. You can see it at 6:20 in this video: http://vimeo.com/4221277 http://vimeo.com/4221277 Inform 7 is just awesome in general. The source code reads like English. Here's a code snippet: http://inform7.com/learn/eg/dm/source_14.html http://inform7.com/learn/eg/dm/source_14.html