Show TOC

 Step Functions in the Rule Debugger

The following menu options are available in the rule debugger menu:

  • Step Into If possible, the debugger jumps one level deeper.

  • Step Over The debugger jumps to the next point on the same level.

  • Step Out The debugger jumps up one level.

  • Step To Next Rule The debugger executes the remaining repeats of the current rule based on a composition or record without stopping and jumps to the beginning of the following rule.

Rule processing can be interrupted at the following levels:

  • At the level of a rule. Rule processing is interrupted before the check of the condition for the respective rule.

  • At the level of a todo. Rule processing is interrupted before execution of the respective todo.

So, depending on the level at which rule processing is interrupted, the debugger jumps to different points in the set of rules with the various step functions. The following tables show more detailed information.

Starting point: Rule 1 (without record or composition; condition fulfilled)

Step Function

Destination Point

Step Into

Todo 1 of rule 1

Step Over

Rule 2 (todos are executed without stopping)

Step Out

Rule 2 (todos are executed without stopping)

Step to Next Rule

Rule 2 (todos are executed without stopping)

Starting point: Rule 1 (without record or composition; condition not fulfilled)

Step Function

Destination Point

Step Into

Rule 2 (todos are not executed)

Step Over

Rule 2 (todos are not executed)

Step Out

Rule 2 (todos are not executed)

Step to Next Rule

Rule 2 (todos are not executed)

Starting point: Rule 1 (with record or composition; condition fulfilled for current instance)

Step Function

Destination Point

Step Into

Todo 1 of rule 1

Step Over

Rule 1 for the next instance (todos for the current instance are executed without stopping)

Step Out

Rule 1 for the next instance (todos for the current instance are executed without stopping)

Step to Next Rule

Rule 2 (rule 1 is executed for all other instances, depending on the condition)

Starting point: Rule 1 (with record or composition; condition not fulfilled for current instance)

Step Function

Destination Point

Step Into

Rule 1 for the next instance

Step Over

Rule 1 for the next instance

Step Out

Rule 1 for the next instance

Step to Next Rule

Rule 2 (rule 1 is executed for all other instances, depending on the condition)

Starting point: Todo 1 of rule 1 (without record or composition)

Step Function

Destination Point

Step Into

Todo 2 of rule 1

Step Over

Todo 2 of rule 1

Step Out

Rule 2 (others todos of rule 1 are executed without stopping)

Step to Next Rule

Rule 2 (others todos of rule 1 are executed without stopping)

Starting point: Todo 1 of rule 1 (with record or composition)

Step Function

Destination Point

Step Into

Todo 2 of rule 1 at the current instance

Step Over

Todo 2 of rule 1 at the current instance

Step Out

Rule 1 for the next instance (other todos of rule 1 for the current instance are executed without stopping)

Step to Next Rule

Rule 2 (other todos of rule 1 for the current instance are executed without stopping, rule 1 is executed for all other instances, depending on the condition)

Notes

When debugging sets of rules with subsets of rules, the jumps described above do not apply within the subsets of rules. Subsets of rules are run through and executed without stopping. To debug subsets of rules you must look at them separately.