Hour 15. Debugging Your Code

What You’ll Learn in This Hour

Adding comments to your code

Identifying the two basic types of errors

Working with break points

Using the Immediate window

• Creating a structured error handler

No one writes perfect code. You’re most certainly familiar with those problems that prevent code from executing properly—they’re called bugs. Because you’re new to Visual Basic, your code will probably contain a fair number of bugs. As you gain proficiency, the number of bugs in your code will decrease, but bugs never disappear entirely. This book can’t teach you how to debug every possible build or runtime error you might encounter; debugging is a skill and an art. In this hour, however, you will learn the basic skills ...

Get Sams Teach Yourself Visual Basic 2012 in 24 Hours, Complete Starter Kit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.