Method Breakpoint
In the Breakpoints view of the Debugger window,
the
icon identifies a breakpoint set on a method.
Right-clicking the breakpoint and choosing Properties displays the following properties:
- All Methods. If True, sets a breakpoint on all methods in the
class.
- Anonymous Inner Classes. If True, applies the breakpoint to the anonymouse inner classes of the class.
- Class Name. Shows the name of the class in which this breakpoint is set.
- Condition. Specifies a boolean expression that triggers the breakpoint when the expression evaluates to true. For example, to stop at a breakpoint when x == 75, type
x == 75
.
- Enabled. If True, stops the program when it reaches the
breakpoint. If False, removes the breakpoint from your source code but saves it for later use.
- Method Name. Shows the name of the method on which the breakpoint is set.
- Print Text. Specifies the text to print in the Output window when the breakpoint is reached. You can use a combination of text, substituition codes, curly braces, and dollar sign. For example, {$mywatch}.
-
Supsend Debugging. If True, temporarily stops all threads in the debugging session when the program reaches the breakpoint.
-
Valid. If True, the breakpoint has been successfuly set in
the debugged VM. This happens when the breakpoint's class is loaded and the chosen line exists and contains some instructions. If False, one of the conditions has not been satisfied.
One reason why Valid might be False is that the source is out of sync with the debugged class. You cannot set this property.
Legal Notices