Release 10.1A: OpenEdge Development:
Debugging and Troubleshooting

> ## Breakpoints dialog box

> The Breakpoints dialog box lets you add, edit, remove, enable, and disable breakpoints or watchpoints. This dialog box displays all breakpoints set in the current debugging session.

> A breakpoint interrupts program execution. There are three types of breakpoints:

> - At Line — A breakpoint set at a specific line in a named procedure.

> - On Error — A breakpoint set to interrupt execution if an error occurs.

> - Watchpoint — A breakpoint set to interrupt program execution when the value of a variable, buffer field, or attribute reference changes.

> Note: A watchpoint stops program execution when an the value of a variable, buffer field, or attribute reference changes. A watch tracks values of variables, buffer fields, attributes, data and built-in 4GL functions.

> Figure 3–4 shows the Breakpoints dialog box.

> Figure 3–4: Breakpoints dialog box

> Access this dialog box by choosing Edit Breakpoints or entering CTRL+B.

> | To enable or disable a breakpoint or watchpoint, select or clear the check box to the left of the breakpoint. Disabled breakpoints appear in the source code pane as red outlines.

> | To add a new breakpoint or watchpoint, choose the New button. The New Breakpoints dialog box appears. For more information on adding new breakpoints, see the "New Breakpoint dialog box" section.

> Note: You can add a breakpoint directly in the source code pane by clicking in the shaded area to the left of a code line.

> | To edit a breakpoint or watchpoint, select the breakpoint or watchpoint you want to edit, and choose the Edit button. The Edit Breakpoint dialog box appears. For more information on editing breakpoints, see the "Edit Breakpoint dialog box" section.

> | To remove a single breakpoint or watchpoint, select it and choose the Remove button. You also can remove a single breakpoint by clicking on its breakpoint indicator in the source code pane.

> | To remove all breakpoints and watchpoints, choose the Remove All button.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095