[Python-Dev] playback debugging (original) (raw)

Simon Burton simonb@webone.com.au
Fri, 10 Jan 2003 10:00:27 +1100


I was actually just going to mention it, but I guess I'll take a peek at implementing it too. Which files define the VM and whither are the debug hooks? I grepped around for debug hooks, but everything 'grep -i debug *.c' just seemed to turn up instances of PyDEBUG or things that only run when PyDEBUG is defined.

i think the debug hook is the sys.settrace function used by the pdb module, have you looked at this? Should be enough functionality to implement playbacks of native python code. (I'll do it if you don't.)

Simon Burton.