| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.3.5 Debugging Procedures
‘lib/debugger.exp’ defines these utility procedures:
-
dumpvars expr -
This takes a csh style regular expression (glob rules) and prints the values of the global variable names that match. It is abbreviated as
dv -
dumplocals expr -
This takes a csh style regular expression (glob rules) and prints the values of the local variable names that match. It is abbreviated as
dl. -
dumprocs expr -
This takes a csh style regular expression (glob rules) and prints the body of all procs that match. It is abbreviated as
dp -
dumpwatch expr -
This takes a csh style regular expression (glob rules) and prints all the watchpoints. It is abbreviated as
dw. -
watchunset var -
This breaks program execution when the variable var is unset. It is abbreviated as
wu. -
watchwrite var -
This breaks program execution when the variable var is written. It is abbreviated as
ww. -
watchread var -
This breaks program execution when the variable var is read. It is abbreviated as
wr. -
watchdel watch -
This deletes a the watchpoint for watch. It is abbreviated as
wd. -
print var -
This prints the value of the variable var. It is abbreviated as
p. -
quit -
This makes runtest exit. It is abbreviated as
q. -
bt -
This prints a backtrace of the executed Tcl commands.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
