Overriding Sys.Settrace

2007-04-24 Thread Raja
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

Overriding Sys.Settrace

2007-04-24 Thread Raja
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