 ./library/lib/trace.xotcl
  ./library/lib/trace.xotcl
| Description: | Various tracing tools for the XOTcl language. | 
| Arguments: | args: arbitrary args | 
| Description: | Filter to trace every method call on an object or class hierarchy. Outputs a message befora and after each call of the traced object. | 
| Return: | empty string | 
| Description: | Experimental lint filter | 
| Description: | Experimental statistics filter | 
| Arguments: | args: is of variables | 
| Description: | Show the values of the specified variables (or of all variables) of an object on stderr. | 
| Arguments: | msg: optional output | 
| Description: | Show a message msg with the form "[self] $cls->$method $msg" on stderr. | 
| Description: | Show classes and mixins of the object | 
| Arguments: | maxDepth: max stack depth, default=100 | 
| Description: | Show callstack up to the specified calldepth. | 
| Description: | Show the current call with the form "[self] $cls->$method $args" on stderr. | 
| Arguments: | ?handle?: Handle object name, optional | 
| Description: | start a timer | 
| Arguments: | ?handle?: Handle object name, optional | 
| Description: | end a timer and show result | 
| Description: | Write trace outputs and produce statistics. Variable traceStream defines where to write trace output (default: stderr). | 
| Arguments: | line: output line | 
| Description: | Define how traceFilter writes to the output stream. Default: write to trace stream. | 
| Arguments: | name: file name | 
| Description: | Redirect trace output to file. | 
| Arguments: | name: file name | 
| Description: | Close trace file and redirect output to stderr. | 
Back to index page.