O'Reilly logo

Visual C++ 2008: How to Program, Second Edition by D. T. Quirk, H. M. Deitel, P. J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix H. Using the Visual Studio Debugger

 

And so shall I catch the fly.

 
 --William Shakespeare
 

We are built to make mistakes, coded for error.

 
 --Lewis Thomas
 

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

 
 --Benjamin Disraeli
 

He can run but he can’t hide.

 
 --Joe Louis
 

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

 
 --John Locke

OBJECTIVES

In this appendix you’ll learn:

  • To set breakpoints to debug programs.

  • To run a program through the debugger.

  • To set, disable and remove a breakpoint.

  • To use the Continue command to continue execution.

  • To use the Locals window to view and modify the values of variables.

  • To use the Watch window to evaluate expressions.

  • To use the Step Into ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required