To set a display:
In the Text Editor window, move the insertion point to the line of code where you want to set a display and right-click in the selection margin.
From the context menu choose:
Add expression. The Expression dialog appears.
In the Expression dialog:
Type or paste the expression to be watched in the Expression text box.
If necessary, change name of the file, in which expression is located. By default the text box contains the name of the current source file. The dropdown list box contains the most recently used filenames.
If necessary, change the line number. By default the text box contains the number of the line containing insertion point.
Click OK in the Expression dialog and then in the Debug Object manager dialog.
- or -
Debug Object manager. The Debug Object manager dialog appears. In the Expression tab click Add. The Expression dialog appears. Follow the instructions from the previous item.
Also you can choose Expressions from the Edit menu. The Debug Object manager dialog appears with the Expressions tab active.
When you set a display, a magenta rhomb is displayed in the selection margin of the Text Editor window next to the line containing the display.