Chapter 15. Debugging Your Code

<feature><title></title>

What You’ll Learn in This Hour:

<objective>

Adding comments to your code

</objective>
<objective>

Identifying the two basic types of errors

</objective>
<objective>

Working with break points

</objective>
<objective>

Using the Immediate window

</objective>
<objective>

Creating a structured error handler

</objective>
</feature>

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 they will never disappear entirely. This book can’t teach you how to debug ...

Get Sams Teach Yourself Visual Basic 2008 in 24 Hours: Complete Starter Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.