Try OpenEdge Now
skip to main content
Debugging and Troubleshooting
OpenEdge Debugger : Debugger Window and Files : Debugger dialog boxes : New Breakpoint dialog box : Setting an error-based breakpoint
 
Setting an error-based breakpoint
You can set a breakpoint that is triggered by the occurrence of an error condition.
To add a breakpoint triggered by an error:
1. In the New Breakpoint dialog box, choose the On Error tab. Select the appropriate radio button, as follows:
*Any Unsuppressed Error — The Debugger gains control on the occurrence of any error not suppressed by a NO-ERROR. This type of breakpoint appears in the Breakpoints list as "Break on any unsuppressed error."
*Any Error — The Debugger gains control on the occurrence of any error regardless of whether the error is suppressed by a NO-ERROR. This type of breakpoint appears in the Breakpoints list as "Break on any error."
*On Error — The Debugger gains control on the occurrence of the specifically identified error, regardless of whether the error is suppressed by a NO-ERROR. This type of breakpoint appears in the Breakpoints list as "Break on Error #nnnnn."
2. Enter an INTEGER of 1–5 digits that identifies a specific error (available, and required, only when On Error is selected).
3. Click OK.