Debugging decision trees with the Tracer
If your decision tree does not give you the results you expect and you cannot determine the problem by running the rule and examining the clipboard pages, run the Tracer tool. With the Tracer you can watch each step in the evaluation of a decision tree as it occurs.
- On the developer toolbar, click Tracer.
- Select the ruleset that contains the rule to be traced.
- In the Tracer window, click Settings.
- In the Event Types to Trace section, select the Decision Tree check box.
- Select the ruleset that contains the rule to be traced.
- Clear the other rulesets to avoid memory usage from tracing events occurring in other rulesets.
- Click OK.
- Return to the main portal and run the decision tree.
- Watch the Tracer output as the rule runs.
Previous topic Unit testing a decision tree Next topic Declare Expression rules