To run a program, perform one of the following tasks:
If you select Run to Line in the editor, the program will run to the selected statement unless an active breakpoint is hit, an exception occurs or the end of the program is reached. You select the statement by moving the cursor to it.
To run a program to a specific line number:
If you run a program until its end is reached, you can relaunch the program by selecting Run > Debug Last Launched from the menu bar or by pressing F11.