:TRACE
Purpose
Sets the trace level, controlling debugging output.
Parameters
- level
- :SILENT, :NORMAL, :VERBOSE, :DETAIL, :DEBUG, :STEP or :RUN
also :DEBUG-COMPILER-ON and :DEBUG-COMPILER-OFF
Examples
(:TRACE :VERBOSE)
(Color MyHouse ?what)
(:TRACE :NORMAL)
Success criteria
Always succeeds.
Failure criteria
Never fails.
Notes
- :SILENT - print no extra output.
- :NORMAL - Prints when a command succeeds or fails.
- :VERBOSE - standard debugging level. Suitable for most debugging.
- :DETAIL - More debugging detail.
- :DEBUG - Prints the internal registers every reasoning step. You probably don't want to use this level.
- :STEP - Puts the internal processor in Step mode so the user can step through the execution of the code.
- :RUN - Takes the internal processor out of Step mode.
- :DEBUG-COMPILER-ON - used for debugging the path compiler. Most people won't need to use this.
- :DEBUG-COMPILER-OFF - used for debugging the path compiler. Most people won't need to use this.
When in Step mode, hit Enter to go one step forward, or enter a number to go that many steps forward,
or type GO or RUN to exit step mode.
Related commands
Back to...
Algernon commands
Algernon Documentation Central
Algernon home page