Setting Breakpoints

Breakpoints are locations you can designate in the code where execution pauses. You can use breakpoints to stop execution before subroutines, to pause procedures so that you can inspect variable values, and to isolate faulty code. Once a breakpoint is in place, you can use the Stepping Over, Into and Out commands and Run Conditions to maneuver through your code.

To Set a breakpoint:

 

You will now see the breakpoint symbol in the bar to the left of your code.

To Remove a breakpoint:

To see a list of all breakpoints:

        Under the Disable All commands, you will see a list of all breakpoints contained in your code. When you select a breakpoint from this menu, you will be sent to the location of the breakpoint in your code.

To Enable or Disable all breakpoints (v9):

        Select Enable All or Disable All from the Breakpoint menu to turn on a mode where all breakpoints are used or ignored. In Disable All mode breakpoints will show as a hollow red circle.

Starting from ATEasy v14/2026 new breakpoints commands were added:

        Data Breakpoint. This can be set from the Code view or from the Variables list view, the data breakpoint is not tied to any specific code location; the debugger will pause at any location if the condition is met.

There are two conditions to pause while running:

        Variable Value Change breakpoint, this can be set from the Variables list view as shown here, this breakpoint is not specific to certain code location:



You can also set that from the Code view as shown here:



The Data Breakpoint dialog will show allowing you to select the breakpoint condition when the highlighted variable value change or type an expression that if evaluated to True the debugger will pause:



        Data Expression Breakpoint, activated from the Code view (similar to Break When Variable Change...), type an expression, if the expression will be evaluated to True the debugger will pause:


        Conditional Breakpoint - set from the Code View on a specific code location if the expression is set to True:


After setting the breakpoint it will show at the location set as follows: