On Tue, 28 Feb 2017 15:03:14 -0800 (PST), Frank <
kra...@gmail.com>
wrote:
Hi Frank,
if you can replace your 'Tcl console' with TkCON you can use its
integrated debugger:
- in TkCon you say 'idebug on' to enable debugging and
- in your script under test you add 'idebug break' at all the places
where you want to debug.
Once the program stops you have commands to show
- all local / global variables with or w/o their values
- the stack level
- etc.
If you say 'idebug off' you can even leave all the idebug statements
in your code ...
HTH
M'