December 1994
Intermediate to advanced
606 pages
16h 7m
English
The debugger assumes you use the commands set and parray for printing scalars and arrays. Write a command named “p” that prints out a variable no matter what kind it is. Add additional features, such as checking the next higher scope or the global scope if the named variable is not found in the current scope.
The next chapter describes Tk, a Tcl-based extension for the X Window System. Try using the debugger with Tk. Does it work as you expected?