Halting Execution

See Also76VX10

As you run your application141RJVK, it may halt for one of the following reasons:

         An untrapped run-time error occurs.

         Visual Basic encounters a breakpoint1YXJ0G5 you set previously.

         Visual Basic encounters a watch expression12QVKFC that you have set to break if its value changes or becomes true.

         Visual Basic encounters a Stop4K739NO statement or an EndLANEND statement in your code.

         You halt execution manually at a given point.

 

To halt execution manually

        From the Run menu, choose Break (Ctrl+Break), or use the toolbar shortcut:

 

To continue execution when your application has halted

        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).


See Also

Help:

Continuing ExecutionCZRW3ZU

Debugging Checklist4RVH0A6

Ending Execution4KTFWY

Restarting ExecutionF5EDVC

Starting Execution1AHX1VG

 

Programmer's Guide:

Chapter 2, "Your First Visual Basic Application"

Chapter 9, "Debugging"