Overriding Sys.Settrace
  Home FAQ Contact Sign in
comp.lang.python only
 
Advanced search
POPULAR GROUPS

more...

comp.lang.python Profile…
 Up
Overriding Sys.Settrace         


Author: Raja
Date: Apr 24, 2007 15:56

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,
no comments

RELATED THREADS
SubjectArticles qty Group
Re: cvs commit: src/sys/sys mbuf.h src/sys/net if_ethersubr.cmailing.freebsd.cvscurrent ·
cvs commit: src/sys/sys proc.h src/sys/kern kern_thread.cmailing.freebsd.cvs-current ·
Re: cvs commit: src/sys/amd64/conf DEFAULTS src/sys/i386/confmailing.freebsd.cvs-current ·