1. Home
  2. FlexRule Designer
  3. Debugging
  4. Introduction to debugging

Introduction to debugging

◷ Reading Time: 2 minutes

Debugging lets you to view detailed information regarding rules and logic execution. That is useful when you want to have more visibility regarding the rules (i.e., when you want to make sure your rules and logic behave exactly the way you want). Debugging gives you the option to inspect the values of your objects, check the execution path and record execution into a log.

There are many ways of debugging the rules. It depends on your skill set and the problem you want to solve. You may chose either of the following options:

  • Using rule Designer to visually track the execution of rules and logic
  • Using different events on the Engine

Prepare data

When you are trying to debug particular logic, check if it has any input parameters. Because if it does, then you need to pass some values to the logic at the beginning of execution. By inspecting the Declaration section of rules, you can understand what sort of data you need to prepare. The declaration defines the signature of a logic. No matter what your logic type (e.g., Procedure, Flow, Validation, Decision, etc.), you need to understand the input parameters of the logic.


The next step is to decide to what approach you will take for debugging your rules. You have options to use the following:

  • Visual debugger using FlexRule Designer
  • Visual Studio execution context inspection
  • Code based debugging mechanisms
Updated on June 5, 2019

Was this article helpful?

Related Articles