Rule Builder > Debugging and Profiling > Debugging > Using the Console

The Console panel provides you with a command line that allows you to insert actions into the executing engine, or check the value of your variables. An example is shown in Figure 16.20. All the operations that can be used in the action part of a rule (right-hand side (RHS)) are allowed as well as any expression.

To open the Console panel:

If the line ends with a semicolon, it is considered an action statement. If the line does not end with a semicolon, it is considered as an expression. The expression can be evaluated and its value will be returned. A statement does not have a value. Moreover, the statements or the expression may refer to the bindings of the rule currently available.
Note
The variables available depend on the position of the cursor.

See Also

Executing a Ruleset in the Rule Builder


Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT