Debugging rule scripts
As described in the previous sections, the InForm Architect application supports debugging rule scripts by presenting messages in the Rule Debug tab of the Output window when you run scripts against test data. Specifically, the Output window displays:
- VBScript syntax errors.
- Invalid RefName paths, if the RefName checker is on. For information on the RefName checker, see Using the RefName checker.
- Values of arguments defined for the selected context.
- Values of test variables.
- Rule result:
- If the rule is a form rule, the output indicates whether the rule would pass or fail with the submitted test values.
- If the rule is a calculation, the output indicates the result of the calculation.
- Trace values specified with the Patient.OutputDebug method, as described in Using the Patient.OutputDebug method.