You can have a program run until one of the following occurs:
If you select Debug > Run, the program will run until the end of the program is reached, an active breakpoint is hit, or an exception occurs if exception filtering is set to a level other than NONE.
To run a program until an active breakpoint is hit, do one of the following:
If you select Run to Location, the program will run to the statement selected unless an active breakpoint is hit, an exception occurs or the end of the program is reached.
To run a program to a specific line number:
Stepping through a program
Setting multiple breakpoints
Modifying breakpoint properties
Enabling and disabling breakpoints
Deleting a breakpoint
Viewing breakpoints