Thursday, July 24, 2008

Conditional Breakpoint

Recently while working for one of my projects I was looking for conditional breakpoints in X++.Then I came across BREAKPOINT statement.
This statement triggers the debugger.You could make this conditional by using if statement.

If(counter > 4)
breakpoint;