Chapter 19. Error Processing and Debugging

In this chapter, you will learn the following:

  • Types of errors

  • Sample program for testing the debugger

  • Using the Visual Basic .NET debugger

  • Unstructured error handling

  • Structured error processing

  • A program example using exception handling

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.

Visual Basic .NET. Primer Plus
Visual Basic .NET Primer Plus
ISBN: 0672324857
EAN: 2147483647
Year: 2003
Pages: 238
Authors: Jack Purdum

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: