In this chapter, you will learn the following:
In this chapter, you'll learn about program debugging and error processing. There are two basic flavors of error processing: unstructured and structured. Although unstructured error processing is losing favor, you should at least know what it is in case you have to maintain code that uses it. Structured error processing provides a more elegant way to process errors, so it becomes the focal point of this chapter.
The second major topic of this chapter is debugging. I've already shown you some of the basics of debugging in other chapters. However, I want to collect the debugging techniques of Visual Basic .NET in this chapter for easier reference in the future. If you're like the rest of us, you'll tend not to repeat the same programming errors you'll move on to bigger and better ones. The debugger that's integrated into the Visual Basic .NET IDE is an extremely versatile and powerful tool.