See Also
As you run your application
An untrapped run-time error occurs.
Visual Basic encounters a breakpoint you set previously.
Visual Basic encounters a watch expression that you have set to break if its value changes or becomes true.
Visual Basic encounters a Stop statement or an End statement in your code.
You halt execution manually at a given point.
To continue execution when your application has halted (in all cases except after an End statement)
From the Run menu, choose Continue (F5), or use the toolbar shortcut:
or
From the Debug menu, choose Single Step (F8) or Procedure Step (Shift +F8).
Note While in break mode, the edits you make to your code may cause syntax errors or other compile errors. Visual Basic evaluates each new line of code before making the change and alerts you about errors in your code. If you make a change that prevents execution from continuing, Visual Basic displays an alert with the option of canceling the change or of proceeding. If you cancel the change, Visual Basic reverses the change by either deleting the incorrect line of new code or restoring the previous state of an old line of code. If you choose to proceed, Visual Basic ends execution and returns to design mode .
You may want to change the sequence of your code with the Set Next Statement command (Debug Menu) to either rerun the changed statement or to bypass it.
Help:
Debugging Checklist
Ending Execution
Executing a Specific Statement
Restarting Execution
Starting Execution
Programmer's Guide:
Chapter 9, "Debugging"