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 Windows

Lists the different debugger windows.

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.

More Debugging Features

Describes different debugging features.

Remote Debugging and Diagnostics

Describes how to set up and use remote debugging.

Debug Multithreaded Applications in Visual Studio

Describes how to debug multithreaded applications.

Debugging Applications

Describes how to debug different kinds 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.