Next: CHR Debugging Predicates, Previous: CHR Ports, Up: CHR Debugging [Contents][Index]
Tracing is enabled with the chr_trace/0 predicate
and disabled with the chr_notrace/0 predicate.
When enabled, the tracer will step through the call,
exit, fail, wake and apply ports,
accepting debug commands, and simply write out the other ports.
The following debug commands are currently supported:
CHR debug options:
<cr> creep c creep
s skip
g ancestors
n nodebug
b break
a abort
f fail
? help h help
Their meaning is:
creepStep to the next port.
skipSkip to exit port of this call or wake port.
ancestorsPrint list of ancestor call and wake ports.
nodebugDisable the tracer.
breakEnter a recursive Prolog top level. See break/0.
abortExit to the top level. See abort/0.
failInsert failure in execution.
helpPrint the above available debug options.