Source Code Execution and
Navigation
You use this function to execute the source code in debugging mode. There are different ways to step through the source code and to navigate to different parts of it.
In the New
Debugger, the next line to be executed is indicated by the
icon. The
icon indicates that the current statement is
not executed, but the next step will leave the current event.
The execution of the source code can be done in the following ways:
● Single Step
This function executes the program line by line and as steps in procedures.
To use it,
choose
with the quick info text Single Step.

When you choose Single Step and you are at a CASE statement, the system branches to the corresponding WHEN block automatically.
● Execute
This function executes the program line by line. The procedures are processed in a single step.
To use it,
choose
with the quick info text Execute.
● Return
This function executes the program to the point where the control is passed back to the caller of the current procedure.
To use it,
choose
with the quick info text Return.
● Continue
This function executes the program to the next breakpoint. If there are no more breakpoints in the program, the system executes the rest of the program directly.
To use it,
choose
with the quick info text Continue.
● Goto Statement
This function resets the execution pointer on the statement where you have placed the cursor. This can be either following or preceding the currently executed statement.
To use it, place the cursor on a statement and choose Debugger → Goto statement.
● Continue to Cursor
This option executes the program to the line where you have placed the cursor. The function does not work if the cursor is placed on a line preceding the currently executed statement.
To use it, place the cursor on a line and choose Debugger → Continue to Cursor.
● Position on Current Statement
This function displays the currently processed statement and positions it in the middle of the Source Code display.
To use it, open the context menu and choose Position on Current Statement.
● Go to Line
This function allows you to navigate to any line without executing it.
To use it,
open the context menu, choose Navigation
→ Go to
Line…, and enter the line number. The system displays the
selected line, indicates it by
with the quick info text Position line, and positions it in the middle of the Source Code display. You can perform this an unlimited
number of times and then navigate forward and backward through your steps by
using the following functions:
○ Navigate Backwards
Open the context menu and choose Navigation → Navigate Backwards.
○ Navigate Forwards
Open the context menu and choose Navigation → Navigate Forwards.
You can use bookmarks to facilitate your navigation to specific parts of the source code.
You can bookmark any line in the source code, except for comment lines. You can set up to ten bookmarks, numbered zero through nine, in arbitrary order.
● To bookmark a line, open the context menu of the Indicator Field and choose Bookmarks → Bookmark <bookmark number>.
The system
sets the bookmark and displays
with the quick info text Bookmark <bookmark number>.
● To navigate to an existing bookmark, open the context menu of the Indicator Field and choose Goto Bookmark → Bookmark <bookmark number>.
You can toggle bookmarks and then navigate to the next or the previous bookmark.
● To toggle bookmarks, open the context menu of the Indicator Field and choose More → Toggle Bookmarks..
● To navigate between bookmarks, open the context menu of the Indicator Field and choose More. From the submenu, choose between Next Bookmark and Previous Bookmark.