Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
OpenEdge Debugger : Debugger Window and Files : Debugger dialog boxes : New Breakpoint dialog box
 
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 Breakpointsdialog 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 25. 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 26. New Breakpoint dialog box with On Error tab
For more information on setting breakpoints if an error occurs, see Settingan 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 27. New Breakpoint dialog box with Watchpoint tab
* Setting a breakpoint in a procedure
* Procedure names and line numbers
* Conditional breakpoints
* Setting an error-based breakpoint
* Breakpoints triggered by errors
* Setting a watchpoint
* Watchpoint expressions
* Watchpoint conditions
* Adding a watchpoint to a watch