The most intuitive type of breakpoint in a source window is the file breakpoint. A file breakpoint is set at a location in the source file.
To insert a file breakpoint in a source window
— or —
Right-click and choose Insert Breakpoint from the shortcut menu.
This action inserts a file breakpoint at the beginning of the chosen line. In most cases, this is sufficient. Sometimes, however, a line contains more than one statement. In that case, you may need to set the breakpoint somewhere other than the beginning of the line. After you have inserted the breakpoint, you can move it to a specific column (character) within the line:
To move the breakpoint within the line
The value in the Character box is normally 1 by default.
Note If you try to set a breakpoint on a line that does not contain executable code, the debugger automatically moves the breakpoint to the next line that contains executable code. You cannot set a breakpoint inside an attribute. If you try to set a breakpoint on an attribute, the debugger automatically moves the breakpoint to the next line that contains executable code.