Tcl style traces

Miki Tebeka miki.tebeka at
Wed Jan 28 08:44:19 CET 2004

Hello Derek,

> Does Python have something similar to Tcl style tracing? That is, the
> ability to call a subroutine when a variable is written to or read from?
Not that I know of.

The only way I can think you'll be able to pull this one is by using
Just set breakpoints where the variable can change a give as a
condition a function that prints the value of the variable and returns


More information about the Python-list mailing list