::antiklop::popup
Bring the interface to front.
::antiklop::trap ?message?
Trap the program and start internal 'event loop'.
In this case the procedure will exit when you press the
blinking 'Release' button.
Until this, any code you execute in the console, will be executed
at the selected stack frame.
Message (string) will be appended in square brackets
to the trapped procedure name in title bar;
default is 'trap'.
::antiklop::configure -bgerror boolean
Pop up on background errors instead of default 'bgerror'.
This option is equivalent to selecting/unselecting
the 'bgerror' checkbox (see below).
::antiklop::echo message
Write message to antiklop console.
Newline character will be appended to the end of string.
Antiklop will popup.
control | type | description |
---|---|---|
bgerror | checkbox | Pop up on background errors instead of default 'bgerror'. If this checkbox is selected, original bgerror (if exists) is replaced with a new one that calls antiklop::trap. When some background error happen and bgerror is called, original stack that caused the error is already destroyed, so you can not inspect local variables :-( You only can see the stack trace saved by Tcl into 'errorInfo' global variable (and inspect other globals, of course). Unselecting the checkbox restores original handler. |
Release | button | Terminate 'event loop' inside the trap procedure to allow the program to proceed (old grab, if any, will be restored). Enabled only if antiklop is holding the program. |
Execute | button | Feed the entire text from console window to Tcl. It will be executed in highlighted namespace or stack level. If the current line is commented out, antiklop will uncomment it after confirmation. Output will be appended to the end of display. Note: to execute a single line, use <Shift-Return> keyboard shortcut. |