Use the Breakpoint Properties dialog box to add breakpoints and modify breakpoint properties. The contents and title of the dialog box vary depending on what type of breakpoint you're working with:
Breakpoint Type | Description | Dialog Box Title When Adding | Dialog Box Title When Modifying |
---|---|---|---|
Line | A line breakpoint is set on a particular line of source code. The debugger stops on that line. | Add Line Breakpoint dialog box | Breakpoint Properties dialog box |
Exception | An exception breakpoint causes the debugger to stop at the location when the specified exception is about to be thrown. | Add Exception Breakpoint dialog box | Breakpoint Properties dialog box |
Class | A class breakpoint causes the debugger to stop when the specified class is loaded or when any method from the specified class is called. | Add Class Breakpoint dialog box | Breakpoint Properties dialog box |
Method | A method breakpoint causes the debugger to stop when the specified method in the specified class is called. | Add Method Breakpoint dialog box | Breakpoint Properties dialog box |
Cross-Process | A cross-process breakpoint causes the debugger to stop when you step into the breakpoint. | Add Cross-Process Breakpoint dialog box | Breakpoint Properties dialog box |
Note: Class, method, exception, and field breakpoints are features of JBuilder Professional and Enterprise. Cross-process breakpoints are features of JBuilder Enterprise.
To display this dialog box in add mode,
To modify a breakpoint, right-click a breakpoint in the Data and code breakpoints view and choose Breakpoint Properties.
The fields in the top of the dialog box depend on what type of breakpoint you're adding or modifying:
For Line Breakpoints
For Class Breakpoints
For Exception Breakpoints
For Method Breakpoints
For Cross-Process Breakpoints
Fields at the bottom of the dialog box is the same for all breakpoint types:
Actions
The Action for the breakpoint.
For more information, see "Setting breakpoint actions" in Building Applications with JBuilder.
Condition
The condition, if one exists, for this breakpoint. This is an expression that is evaluated each time the breakpoint is encountered during the program execution. The condition must be boolean, that is, it must evaluate to either true or false.
For more information, see "Creating conditional breakpoints" in Building Applications with JBuilder.
Pass Count
The number of times this breakpoint must be passed in order for the breakpoint to be activated.
For more information, see "Using pass count breakpoints" in Building Applications with JBuilder.
See also