User manual
Basic debugging features UM0036
172/385 Doc ID 7705 Rev 11
5.4.1 Editor debug margin
The left margin of an Editor window is a special area for placing debugging icons.
Figure 111. Editor window margin icons and contextual menu
The illustration shows several margin icons in place (breakpoints—active and disabled,
bookmarks and the Program Counter) and shows the Editor's contextual menu open (right-
click on mouse to open the contextual menu).
The Program Counter location is visible, showing the line at which the program has halted.
Bookmarks are enabled/disabled in the Edit menu (Edit>Toggle Bookmark). Instruction
Breakpoints are inserted/disabled/removed in the Editor contextual menu or in the Edit
menu (Edit>Insert/Remove or Enable/Disable Breakpoint).
Debug symbols in other windows
The Editor debug functionality is reciprocal. Breakpoint symbols placed in the Editor window
also appear in a corresponding position in other windows.
The Program Counter indicator and the Call Stack indicator are also shown in the
Disassembler window together with breakpoint symbols. The debug margin of the
Disassembler window may be used to place breakpoints, which also appear in the
corresponding Editor window.
Margin icons
Debugging icons are placed in the Editor's debug margin at the same level as the line of
code to which they apply.