next up previous contents
Next: Tracing of Alternatives and Up: Tracing and Debugging Previous: Identifying Possible Bugs: Trace-bp

   
Levels of Tracing

In the attempt to reduce the amount of trace messages and finding the original source of failure, the most useful tool is the trace-level function, which filters tracing messages according to their importance. The following levels of importance are predefined:  

The function trace-level sets the minimum level of tracing messages that can be printed. Thus, calling (trace-level 20) insures that only important messages of level 20 and 30 will be printed.

The levels are defined as follows:

In general, when debugging, start by setting (trace-level 30), this provides most of the time directly the location of the initial failure.


next up previous contents
Next: Tracing of Alternatives and Up: Tracing and Debugging Previous: Identifying Possible Bugs: Trace-bp
Michael Elhadad - elhadad@cs.bgu.ac.il