C. Using the Visual Studio 2005 Debugger

We are built to make mistakes, coded for error.

Lewis Thomas

What we anticipate seldom occurs; what we least expect generally happens.

Benjamin Disraeli

It is one thing to show a man that he is in error, and another to put him in possession of truth.

John Locke

He can run but he can’t hide.

Joe Louis

And so shall I catch the fly.

William Shakespeare

Objectives

In this appendix you will learn:

  • To use the debugger to locate and correct logic errors in a program.

  • To use breakpoints to pause program execution and allow you to examine the values of variables.

  • To set, disable and remove breakpoints.

  • To use the Continue command to continue execution from a breakpoint.

  • To use the Locals window to view ...

Get Visual Basic 2005 for Programmers: Deitel Developer Series, Second Edition 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.