To debug your program up to a specific line in your source code, set a breakpoint at the line that you want to run up to (click in the line and press the F9 function key). Then begin debugging by doing the following:
To continue debugging, you can step through your code line by line by clicking the Step Into button on the Debug toolbar (or by selecting the Debug:Step Into menu command). You can also step over or out of a function. See the next section for more information on the Step Into, Step Over, and Step Out buttons.