New Breakpoint dialog box

The New Breakpoint dialog box lets you set new breakpoints and watchpoints.

Access this dialog box by choosing the New button on the Breakpoints dialog box. For more information, see Breakpoints dialog box.

The New Breakpoint dialog box contains the following tabs:

  • At Line — Sets a breakpoint at a specific line in a named procedure. You can make this type of breakpoint conditional; that is, it interrupts program execution only if a defined condition is satisfied. A breakpoint indicator appears in red in the shaded area to the left of each line in the source code pane where an At Line breakpoint is set. The following figure shows the New Breakpoint dialog box with the At Line tab.
Figure 1. New Breakpoint dialog box with At Line tab


  • On Error — Sets a breakpoint to interrupt program execution if an error occurs. The error condition can be general or specific. The following figure shows the New Breakpoint dialog box with the On Error tab.
Figure 2. New Breakpoint dialog box with On Error tab


For more information on setting breakpoints if an error occurs, see Set an error-based breakpoint.

  • Watchpoint — Sets a watchpoint to interrupt program execution when the value of a variable, buffer field, or attribute reference changes. The following figure shows the New Breakpoint dialog box with the Watchpoint tab.
Figure 3. New Breakpoint dialog box with Watchpoint tab