Debugging with Visual Studio .NET

In the next sections, you will learn how to debug the sample application. The sample application contains several syntax errors and a few “features” that the client did not expect. By stepping through and debugging a sample application, you will become familiar with the purpose of the debugger, and learn how to use it to be more productive by creating more stable, reliable, and efficient code.

Debugging an Application

When trying to fix syntax errors, it is not necessary to know what the application is attempting to accomplish. However, when attempting to debug an application, it is helpful, and in most cases a necessity, to know what the application is supposed to do. The following application, Listing 42.1 ...

Get Microsoft® Visual C#® .NET 2003 Unleashed 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.