There are two reasons why you would use the debug feature of the business views.
- to understand what the business view is doing during the execution : the console and logs will help you debug the component parameters.
Launch the Debug Mode
The debug perspective
When a breakpoint is reached, it will be asked to switch to the debug perspective. You should accept to be able to see the variables, the stack and the console. The screen looks like this when the debug perspective is activated:
In debug mode, when the execution is suspended on a breakpoint, you can inspect the variables. The config variable contains the project global variables. The dataset variables contains the business view parameters. You can also execute the script step by step. You can also resume it by clicking on the yellow and green arrow in the toolbar so that the execution continues until the end or until the next breakpoint is reached.
The console looks like this:
If the number of output records is too big, then the log file will be easier to search for a specific line.