tracecommand

Hmm, this page seems to have had its contents over-written. Never mind, since 'command' and 'execution' traces are in Tcl 8.4 so it's all in the man pages...

See trace.