Use breakpoints to stop code at a particular place when debugging. You can also set conditions so that it only stops when those conditions are met.

Insert breakpoints (points in your code where execution will stop) by clicking in the gutter to the left of the code.

Conditions

Enter the condition that you want the code to meet before breaking. You can use the following operators in a condition:

Operator

Meaning

>=

Greater than or equal to

<=

Less than or equal to

>

Greater than

<

Less than

=

Equal to

<>

Not equal to

Passcounts

When you enter a passcount, the debugger will not stop on the breakpoint line until just before the breakpoint line for the nth pass count. This pass could be a FOR loop, DO WHILE loop, IF/END IF, and so on. It is not dependent on any "COUNTER_VAR" value.

For example, if you enter a 5, then the debugger will stop just before the 5th pass through the breakpoint.

 

Related Information