Overide settrace

Discussion in 'Python' started by Raja, Apr 25, 2007.

  1. Raja

    Raja Guest

    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.
    Please help me in this regard.

    Thank You,
     
    Raja, Apr 25, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve
    Replies:
    1
    Views:
    563
    Hywel
    Sep 24, 2004
  2. Nikos
    Replies:
    5
    Views:
    2,323
  3. David Morgenthaler

    How to overide "for line in file:"

    David Morgenthaler, Feb 22, 2004, in forum: Python
    Replies:
    11
    Views:
    566
    Duncan Booth
    Feb 23, 2004
  4. Eddie
    Replies:
    2
    Views:
    266
    Eddie
    Sep 16, 2004
  5. overide?

    , Oct 12, 2005, in forum: C++
    Replies:
    8
    Views:
    468
Loading...

Share This Page