observe(3tk) | observe(3tk) |
observe - Runtime debugging output in TkCon
observe command cmdname ?maxlevel?
observe cdelete cmdname
observe cinfo cmdname
observe variable varname operation ?args?
observe vdelete varname operation
observe vinfo varname
This command provides runtime debugging output for variables and commands without the need to edit your code. For variables, the underlying mechanism uses trace and dump var. For commands, it renames the observed procedure and uses a special wrapper procedure. WARNING: using this procedure after checkpointing state will result in major problems if you clean state because the renamed (true) commands will be lost.
This procedure is experimental. Comments are encouraged.
Tk, console, debug
Copyright (c) Jeffrey Hobbs <jeff at hobbs.org>
2.5 | TkCon |