From: Abhay S. <ar...@me...> - 2005-03-21 13:24:45
|
On Mar 21, 2005, at 7:47 AM, G=E1bor Farkas wrote: > [trace function not working as expected] > Makes sense to me. Check out the documentation: <http://www.python.org/doc/lib/debugger-hooks.html> Here's a quote from that page: > The global trace function is invoked (with event set to 'call')=20 > whenever a new local scope is entered; it should return a reference to=20= > the local trace function to be used that scope, or None if the scope=20= > shouldn't be traced. > > The local trace function should return a reference to itself (or to=20 > another function for further tracing in that scope), or None to turn=20= > off tracing in that scope. Hope that helps. - Abhay |