Version 2 of Favorite debugging techniques applicable to Tcl

Updated 2004-12-12 08:17:03 by suchenwi

Frank Pilhofer's Reload, Refresh, ..., David Welton's endless reloads, Jeffrey Hobbs' use of "fresh" tkcon tabs [L1 ], as well as Keith Vetter's console resets [L2 ] ...


RS's bindings to process re-start, ... Two lines that I routinely put into scripts under development:

 bind . <Escape> {exec wish $argv0 &; exit}
 bind . <F1> {console show} ;# Windows only

With an interactive console, the following shortcut is often helpful:

 interp alias {} ? {} set errorInfo

Category Debugging