Check calculation rules

You can use the debugger to check calculation rules for plausibility and thus find semantic mistakes.

The debugger applies a calculation rule to any one or multiple EPCs, calculates their attributes and analyzes the calculation performed. Setting break points at any calculation element of the calculation rule enables you to pause the attribute calculator's calculation process and track data changes at the EPC step by step.

The following explains how to check a calculation rule.

Details on how the individual debugger elements work are provided in the Debugger view dialog of the help.

Procedure

  1. Open a calculation rule in the form of a calculation tree.
  2. Activate the Debugger view tab.
  3. Open one or multiple EPCs that you want to use for analyzing the calculation rule.

    You can open an EPC via the main menu, by drag and drop from Windows Explorer, or directly from PPM.

    The open EPCs are displayed in the EPC files panel.

  4. If required, set breaks for individual nodes of the calculation rule by clicking a (hidden) break after the line number.

    The icon for a set break is displayed.

  5. In the main menu, click button_start_program Run calculation.

    The calculation runs all the way to the end or to the next break, if you set any.

  6. If you set breaks, you can also perform the calculation step by step by clicking the Continue calculation step by step.

The calculation rule is calculated (step by step). Nodes with calculation errors are highlighted in red.