A conditional breakpoint is a breakpoint with a conditional expression assigned to it. The expression value is evaluated every time the debugger reaches the breakpoint. The debugger breaks code execution on a conditional breakpoint only when its expression is evaluated to true.
To set a conditional breakpoint and break code execution at that point, perform the following steps:
- Open the 50502 Quarterly Payment report in the report designer, then activate the C/AL code editor
- Set a breakpoint inside the REPEAT .. UNTIL loop
- Save the report, activate the debugger, and run the report
- When the debugger breaks on the breakpoint you set, push the Set/Clear Condition button
- Enter the break condition, for example, Customer."No." = '20000'
With the condition described here, the execution will break on the breakpoint when the customer record...