Introducing the Debugging Tools

Visual Studio .NET provides many tools you can use to debug your applications. In addition, Visual Basic .NET provides tools you can use, such as the Stop statement, the Debug and Trace objects, and conditional compilation. Table 9.1 provides a brief definition of each of these items.

Table 9.1. Tools You Can Use to Debug Your Application
Tool Description
Breakpoints Breakpoints allow you to drop into Break mode before a particular line of code executes. Once in Break mode, you can single-step through your code. You can set as many breakpoints as you like, and your breakpoints are preserved with your project.
Debug class This class provides methods that allow you to interactively debug your application at development ...

Get ASP.NET Developer's JumpStart 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.