2 ms·
GDB has some pretty good Python scripting: https://sourceware.org/gdb/onlinedocs/gdb/Python-API.html#Python-API https://sourceware.org/gdb/onlinedocs/gdb/Python
by mark_undoio 4y ago
GDB has some pretty good Python scripting: https://sourceware.org/gdb/onlinedocs/gdb/Python-API.html#Python-API https://sourceware.org/gdb/onlinedocs/gdb/Python-API.html#Py...
That should get you somewhere useful for time travel systems based on GDB. You can also use Guile if you'd prefer a Lisp - https://sourceware.org/gdb/onlinedocs/gdb/Guile-API.html https://sourceware.org/gdb/onlinedocs/gdb/Guile-API.html
Depending on your debugger of choice there are other options - e.g. WinDbg (which has time travel debug) can, I think, be scripted with JS.