Visual Studio Debugger
Debugging in Visual Studio

The Visual Studio debugger helps you observe the run-time behavior of your program and find problems. The debugger works with all Visual Studio programming languages and their associated libraries. With the debugger, you can break execution of your program to examine your code, examine and edit variables, view registers, see the instructions created from your source code, and view the memory space used by your application.

For a quick introduction to debugging and diagnostics in Visual Studio, see Debug, Profile, and Diagnose.

In This Section
What’s New for the Debugger in Visual Studio 2015

Describes new functionality in Visual Studio 2015.

Debugger Security

Discusses security issues related to debugging.

Debugger Settings and Preparation

Covers the Project Property settings and setup you must perform to create a debug build for your project. Also covers setup for remote debugging, debugging Code Center Premium source, debugging a partial-trust application, and debugging a high-performance cluster application.

Debugger Basics

Discusses the fundamentals of using the Visual Studio debugger. Topics include debugging basics, execution control, attaching to a running program, Just-In-Time debugging, launching the debugger automatically, dumps, breakpoints, inspecting your program, handling exceptions, Edit and Continue, and using expressions in the debugger.

Debugging Applications

Describes how to debug different types of applications.

Debugging User Interface Reference

Provides reference information on the windows and dialog boxes you use when debugging your application. These topics are also available when you press F1 while you have focus on a debugging user interface element, such as the Breakpoints window.

Debug Interface Access SDK

Describes the Microsoft Debug Interface Access Software Development Kit (DIA SDK). The DIA SDK provides access to debug information stored in program database (.pdb) files generated by Microsoft postcompiler tools.

Related Sections
Diagnostic Tools in Visual Studio

Describes the different diagnostic tools.

Visual Studio IDE

Describes Visual Studio features.