Table of contents
Collapse the table of content
Expand the table of content

Margin Indicators

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Visual Basic contains margin indicators that provide visual cues to certain actions during the editing of your code. If more than one action occurs on a line, the appropriate indicators also appear.

The margin indicators appear in the Margin Indicator bar on left side of the Code window.

You can turn the Margin Indicator Bar on and off in the EditorFormat tab of the Options dialog box.

Margin IndicatorMargin Indicator NameDescription


|Breakpoint|Indicates that you have set a breakpoint using the ToggleBreakpoint command on the Debug menu. You can toggle the breakpoint by placing your mouse pointer in the margin indicator region and clicking.| | Current line of execution

|Current line of execution|Indicates the line of code that will be executed next. You can drag this margin indicator to a new location within any running code module. If you drag the Current line of execution margin indicator to any non-valid region or line, nothing happens and the indicator returns to the original location.| | Bookmark

|Bookmark|Indicates the location of a bookmark set using the ToggleBookmark command on the Edit menu.| | Call stack marker

|Call Stack Marker|Indicates lines that are currently in the call stack. The Call Stack Marker indicator appears only in break mode.|

© 2017 Microsoft