Debug - Run To Cursor

At run time:

Ribbon bar. Select the Debug tab. In the Step group, click Run To to execute the program up to where the cursor is currently located (unless breakpoints are encountered).

Classic menus. From the Debug menu, select Run To Cursor to execute the program up to where the cursor is currently located (unless breakpoints are encountered).

Once the line adjacent to the cursor is found, the macro will enter break mode. This is an alternative to manually entering breakpoints.

Note that this command can also be executed by pressing F7. See also Debug - Step Into, Debug - Step Out, and Debug - Step Over.