Re: Trouble using sys.settrace

2007-08-30 Thread [EMAIL PROTECTED]
On Aug 31, 5:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > The code below produces no output. I would expect to see: > > tracing... > tracing... > tracing... > tracing... > tracing... > > I was wondering if anyone had any experience with this. Never mind, now it works. > > =

Trouble using sys.settrace

2007-08-30 Thread [EMAIL PROTECTED]
The code below produces no output. I would expect to see: tracing... tracing... tracing... tracing... tracing... I was wondering if anyone had any experience with this. = import sys def mytrace(frame, event, arg): print "tracing..." sys.settrace(mytrace) d