G. Using the Visual C# 2010 Debugger


In this chapter you’ll learn:

• 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 Just My Code™ debugging.

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 ...

Get C# 2010 for Programmers, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.