Purpose: to discuss the tools and techniques for debugging Tcl/Tk/etc. applications making use of Tcl's introspection capabilities.
[I'd love to see pointers to tutorials, white papers, etc. on how to make use of tkinspect, tkcon, etc. for debugging Tcl/Tk applications].
So would I :-)
[PT] 21-Jun-03: I've added a tkinspect tutorial to the Tkinspect page.
[tb] 2008-07-30: Debugging with TclTalk
Allthough there is no real debugger in TclTalk, its browser always allows a live view into variables. To halt a script at a certain line of script, use vwait ::MySemaphore, or what you like to name the variable. Also you could output a string to the transcript saying, that your program is halted. Then you may inspect your variables of interest (or even change them :) and use a second browser to reset you semaphore and go on with your script.