Main Page

Previous Page
Next Page

[Page 1364]

Appendix L. Using the Visual Studio .NET 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


In this appendix you will 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, Step Out and Step Over commands to control execution.

  • To use the Autos window to view variables that are used in the surrounding statements.

[Page 1365]


L.1 Introduction

L.2 Breakpoints and the Continue Command

L.3 The Locals and Watch Windows

L.4 Controlling Execution Using the Step Into, Step Over, Step Out and Continue Commands

L.5 The Autos Window

L.6 Wrap-Up



Self-Review Exercises

Answers to Self-Review Exercises

Previous Page
Next Page