The gray margin to the left of the line numbers contains icons giving information about the corresponding lines of code. The following table describes the icons on lines 4 through 13.
LINE | ICON | INDICATES |
4 | Arrow | Execution is paused at this line |
5 | Red circle | A breakpoint |
6 | Hollow red circle | A disabled breakpoint |
7 | Red circle with plus sign | A breakpoint with a condition or hit count test |
11 | Red diamond | A breakpoint that executes an action when reached |
12 | Gray ribbon | A bookmark |
13 | Hollow diamond and plus sign | A disabled breakpoint with a hit test or condition that performs an action |
These icons can combine to indicate more than one condition. For example, line 13 shows a blue and white rectangle to indicate a bookmark, a hollow red diamond to indicate a disabled breakpoint that performs an action, and a plus sign to indicate that the breakpoint has a condition or hit count test.
Note that the editor marks some of these lines in other ways than just an icon. It highlights the currently executing line with a yellow background. It marks lines that hold enabled breakpoints with white text on a red background. It surrounds lines with disabled breakpoints with red boxes.
To add or remove a simple breakpoint, click in the gray margin.
To make a more complex breakpoint, click in the margin to create a simple breakpoint. Then right-click the breakpoint icon and select one of the context menu’s commands. The following list describes these commands:
To add or remove a bookmark, place the cursor on a line and then click the Toggle Bookmark tool. You can find this tool, which looks like the blue and white bookmark icon, in the Text Editor toolbar, at the top of the Bookmarks window (View ⇒ Other Windows ⇒ Bookmark ⇒ Window), and in the Edit menu’s Bookmarks submenu. Other bookmark tools let you move to the next or previous bookmark, the next or previous bookmark in the current folder, or the next or previous bookmark in the current document. Still others let you disable all bookmarks and delete a bookmark.