About errors in Visual Basic code

Debugging is a process you use to find and resolve errors, or bugs, in your Microsoft Visual Basic code. There are three types of errors you may encounter as your code runs:

To help you isolate all three types of errors and to monitor how your code runs, the Microsoft Visual Basic Editor provides debugging tools that let you step through your code one line at a time, examine or monitor the values of expressions and variables, and trace procedure calls.