This documentation is archived and is not being maintained.

Debugging Code in the Editor

The Code Editor contains a number of new, advanced features for debugging code, most of which are described in Debugging. The Code Editor provides visual indicators to alert you to the debugging status; these indicators display to the left of the line in the indicator margin. The following is a list of the most commonly encountered indicators:

Indicator Name Symbol Description
Breakpoint Represents a line where a breakpoint (F9) has been set. Program execution is suspended at this point.
Current Statement Represents the next line to be executed. You can drag the current statement indicator to another line to either skip or re-execute code.
Call Return Represents the line from which the code was called.
Task List A shortcut connected to the corresponding task item in the Task List.
Temporary Bookmark Represents a temporary bookmark location in code that you can navigate back to.

Navigating to errors

When an error occurs in a line of code, it is automatically added to the Task List.

To go to the line where an error occurred

  • Double-click the task item.


  • Press F12 to sequence through the displayed tasks. F12 also works if you last activated the Output window instead of the Task List by sequencing through the errors in the active pane of the Output window.

Some languages also insert a wavy line under an error, and pausing on it displays the error message.

See Also

Editing Code, HTML, and Text