Controlling Python
nriedlin at my-deja.com
nriedlin at my-deja.com
Wed Aug 18 04:31:45 EDT 1999
> You can use a callback which you can register with the
> sys.settrace() function. A less fine-grained hook is available
> through sys.setprofile(). See the docs for more infos.
>
You are correct, but isn't it true, that the callback is only called
every function call? I would like to interfere every line (and so being
able to trace my scripts). Please correct me if I'm wrong.
TIA
Norbert Riedlin
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
More information about the Python-list
mailing list