Using the Debugger

Visual Studio .NET provides a useful toolbar you can use while debugging but doesn't display it by default. In this section, you'll see both how to load the Debug toolbar and how to get started debugging.

Three Modes of Existence

While creating applications in Visual Studio .NET, you'll find yourself in one of three “modes.” Each mode has a specific function, and knowing which mode you are in is important. The three modes are as follows:

  • Design mode. In this mode you build your user interface and write your code.

  • Break mode. In this mode you can single-step through code, view and modify variable values, and inspect memory.

  • Run mode. In this mode you are, effectively, testing your application within the Visual Studio .NET environment. ...

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.