Chapter 12. Debugging Applications

After completing this chapter, you’ll be able to:

  • Define how debugging fits within the application development cycle

  • Create special breakpoints that respond to particular events

  • Step through the code, looking for errors

  • Create watches to look at global variables

  • Work with visualizers to see data in new ways

  • Locate special data in your application

  • Interact with the call stack

  • Use the Immediate window to execute commands

  • Understand how exceptions work

A BUG IS AN ERROR in your application. Bugs happen in many different ways and you may not even know that your application has a bug until someone else brings it to your attention. The best-tested code on the planet will likely have a bug in it. So it’s often a third party who ...

Get Start Here!™: Learn Microsoft® Visual C#® 2010 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.