GEOS SDK TechDocs
|
|
Swat Command Reference
|
addr-parse ...
_print <expression>
Examples:
Print the value of an expression.
The difference between this command and the "print" command is a subtle one: if one of the arguments contains square-brackets, the Tcl interpreter will attempt to evaluate the text between the brackets as a command before _print is given the argument. If the text between the brackets is intended to be an array index, the interpreter will generate an error before the Swat expression evaluator has a chance to decide whether the text is a nested Tcl command or an array index.
For this reason, this function is intended primarily for use by Tcl procedures, not by users.
See Also: print, addr-parse.
abort [<frame-number>] abort [<function>]
Examples:
Abort code execution up through a given frame or routine. By "abort", we me "do not execute". This can be quite dangerous, as semaphores may not be ungrabbed, blocks not unlocked, flags not cleared, etc., leaving the state of objects, and if executing system code, possibly the system itself in a bad state. This command should only be used when the only alternative is to to detach (i.e. in a fatal error) as a way to possibly prolong the usefulness of the debugging session.
abortframe <frame-token>
Examples:
Aborts code execution up through a particular stack frame. As no code is executed, the registers may be in a garbaged state.
event
Tcl command.
GEOS SDK TechDocs
|
|
Swat Command Reference
|
addr-parse ...