next up previous contents
Next: The Extended CHR Implementation Up: Debugging CHR Programs Previous: Debugging CHR Programs

Using the Debugger

In order to use the debugging tool, the debug_compile flag    must have been on (default) during compilation (chr to pl) and loading of the produced ECLiPSe code.

The debugger displays user-defined constraints and application of CHRs. User-defined constraints are treated as predicates and the information about application of CHRs\ is displayed without stopping. See the subsection on how CHRs work for an example trace. The additional ports are:

The ports related to application of rules are:

The ports related to labeling are:

When displayed, each constraint is labeled with a unique integer identifier. Each rule is labeled with its name as given in the chr source using the @ operator. If a rule does not have a name, it is displayed together with a unique integer identifier.



Joachim Schimpf
Sun Jul 19 22:34:17 BST 1998