We are built to make mistakes, coded for error. Lewis Thomas
We are built to make mistakes, coded for error.
Lewis Thomas
What we anticipate seldom occurs; what we least expect generally happens. Benjamin Disraeli
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
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
He can run but he can't hide.
Joe Louis
And so shall I catch the fly. William Shakespeare
And so shall I catch the fly.
William Shakespeare
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 and modify variable values.
To use the Watch window to evaluate expressions.
To use the Step Into, Step Out and Step Over commands to execute a program line-by-line.
To use the new Visual Studio 2005 debugging features Edit and Continue and Just My Code™ debugging.
Outline
C.1 IntroductionC.2 Breakpoints and the Continue CommandC.3 The Locals and Watch WindowsC.4 Controlling Execution Using the Step Into, Step Over, StepOut and Continue CommandsC.5 Other FeaturesC.5.1 Edit and ContinueC.5.2 Exception AssistantC.5.3 Just My Code™ DebuggingC.5.4 Other New Debugger FeaturesC.6 Wrap-Up
C.1 Introduction
C.2 Breakpoints and the Continue Command
C.3 The Locals and Watch Windows
C.4 Controlling Execution Using the Step Into, Step Over, StepOut and Continue Commands
C.5 Other Features
C.5.1 Edit and ContinueC.5.2 Exception AssistantC.5.3 Just My Code™ DebuggingC.5.4 Other New Debugger Features
C.5.1 Edit and Continue
C.5.2 Exception Assistant
C.5.3 Just My Code™ Debugging
C.5.4 Other New Debugger Features
C.6 Wrap-Up