idebug
procedureTkCon Docs | Purpose & Features | Limitations | To Do | Changes | License Terms | Using TkCon with other Tk Languages |
Getting Started | Special Bindings | Procedures | |
dump |
tkcon |
idebug |
observe |
The idebug command provides an interactive debugging environment for
procedures via TkCon. You can place idebug break
commands
into your procedure to create breakpoints. It will pop up the TkCon
console and put you into a "debugging" mode. The body, show &
trace
methods are intended for internal use only.
This procedure is experimental (to say the least). Comments are encouraged.
idebug body
?level?
idebug break
?id?
idebug {echo ?id?}
?args?
echo
, but only triggers when idebug is
on. You can specify an optional id to further restrict triggering. If no
id is specified, it defaults to the name of the command in which the call
was made.
idebug id
?id?
idebug off
idebug on
?id?
idebug {puts ?id?}
args
puts
, but only triggers when idebug is
on. You can specify an optional id to further restrict triggering. If no
id is specified, it defaults to the name of the command in which the call
was made.
idebug show
type ?level? ?VERBOSE?
idebug trace
?level?