Entering Break Mode at a Problem Statement

To use debugging tools, you must be in break mode. If you suspect that the problem you're debugging occurs at a certain place in the code, you'll probably want to enter break mode at that location. This is why Visual Basic enables you to use breakpoints and the Stop statement. A breakpoint is a statement at which Visual Basic automatically enters break mode.

Visual Basic enters break mode at a line if one or more of the following conditions exist:

You can also enter break mode by pressing ESC or CTRL+BREAK while code is running.