Download AionDS User Guide

Transcript
Finding and fixing errors in the knowledge base
Finding and fixing errors in the knowledge base
...................................................................................................................................................................................................................................................
Overview
To find and fix errors in a knowledge base, examine the flow of control and
the values generated by different objects. Using the debugger, you can
suspend knowledge base execution on objects where you suspect errors might
occur and step through those objects one statement at a time. You can also
examine the execution trace, the call stack, and the parameter, instance, and
the function values.
To suspend knowledge base execution on the objects that you think might
contain errors, set breakpoints at the beginning of the objects. A breakpoint
is a place in the knowledge base where execution is suspended. The Object
editor displays. The property windows in which the statements exist are
displayed. You can continue the execution in the object one statement at a
time.
& For more information:
see “Suspending execution” on page 9-8
see “Continuing execution” on page 9-10
see “Displaying an object” on page 9-12
see “Displaying parameter, instance, and function values” on page 9-14
see “Displaying the execution trace” on page 9-15
see “Displaying the call stack” on page 9-18
see “Changing object properties” on page 9-19
see “Debugging objects in which errors most commonly occur” on page 9-20
Debugging Knowledge Bases
9-7