[ Team LiB ] Previous Section Next Section

Command Tracing

Tcl now has the ability to trace commands as well as variables. (TIP #62) Options include triggering actions: before or after executing any specified command; before or after entering any command within a specified procedure; when a command is renamed; or when a command is deleted. A new command syntax for creating and using variable traces was also added, to match the features of command tracing. The old syntax for variable traces will be retained for now for backwards compatibility, but its use is deprecated. For more information on using traces, see "Tracing Variables and Commands" on page 193.

    [ Team LiB ] Previous Section Next Section