Overriding Sys.Settrace

Raja rokkamraja at gmail.com
Tue Apr 24 18:56:22 EDT 2007


Hi,
  I want to override the sys.settrace() call, create a way to trace
the execution of a python program. Keep track of all objects created
and destroyed. Keep track of the call pattern throughout the execution
of the program and output a simplified "call graph" to standard out.

Can anyone please tell me how to do this ?


Thank You,




More information about the Python-list mailing list