While debugging, you can place a breakpoint to the left of any line of code in the source editor. However, for a breakpoint to be valid, it must be set on an executable line of code. Before a method is first executed, the debugger verifies all valid breakpoints in the method. Breakpoints set on comment lines, blank lines, declarations, and other non-executable lines of code are invalid and will not be verified by the debugger.
When a breakpoint has been verified as valid, the icon displayed in the source editor margin and in the Breakpoints window change to .
Note: For more information about other icons in the source editor, debugger windows, or Debug menu, see About Debugger Icons.
Related topics
Copyright © 1997, 2004, Oracle. All rights reserved.