• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 4. Using Procedures > Debugging Code

Debugging Code

No matter how thorough you are with error handling, there will probably still be mistakes lurking somewhere in your code. Fortunately, the VBE offers a few tools for helping you debug (find) these mistakes so you can resolve them.

Using Run and Break Mode

After writing a procedure, you need to test it before actually setting it free upon your application, and you do this testing in the VBE. Your first step is to simply run the procedure and see what happens within the controlled VBE environment.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint