Rex -

If what you are looking for is a monitor of calls to a certain
function, check out this decorator example from the Python Wiki:

http://wiki.python.org/moin/PythonDecoratorLibrary?highlight=%28Decorator%29#head-d4ce77c6d6e75aad25baf982f6fec0ff4b3653f4

This will allow you to very quickly turn on/off debugging for a given
routine, with no changes required in the calling code.

-- Paul

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to