Running to a Specific Location

The debugger can execute your program until it reaches a certain location in your code.

To run to a specific location:

  1. In the source editor window, click in the line where you want to stop program execution.
  2. Click the To here button on the Edit/Debug toolbar.
After running to a specific location, you can continue with other debugging actions such as stepping and evaluating. If you want to stop program execution every time the program reaches the line, set a breakpoint.

See also:

Stepping Into a Method
Stepping Over a Method
Setting a Breakpoint in a Line