A breakpoint is set on an executable line of a program. If the breakpoint is enabled when you debug, the execution suspends before that line of code executes.
To add a breakpoint, directly to the left of the line where you want to add the breakpoint, open the marker
bar (vertical ruler) pop-up menu and select Toggle Breakpoint. You
can also use the global Run > Toggle Line Breakpoint menu item or double click the marker bar next
to the source code line. A dot
is
displayed in the marker bar and in the Breakpoints view, along with the name of the associated file.
For more information on marker bar icons, see Workbench User Guide > Reference > User interface information > Icons and buttons > Editor area marker bar.
Working with breakpoints and watchpoints