Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

What’s New for the Debugger in Visual Studio 2015

 

For information about everything that’s new in Visual Studio 2015 Update 1 debugging and diagnostics, see Visual Studio 2015 Update 1 Release Notes.

For information about everything that’s new in Visual Studio 2015 RTM debugging and diagnostics, see Visual Studio 2015 Release Notes.

C++ Edit and Continue supports more features. For more information, see Edit and Continue (Visual C++).

For debugging Visual C++ access violations, a new exception dialog specifies the pointer that caused the exception. For more information, please see How Can I Debug an Access Violation? and Improvement to Debugging C++ Access Violations in Visual Studio 2015 Update 1

There are significant UI changes in the Exceptions and Breakpoints UI.

In Visual Studio 2015 there is a new way to configure breakpoints, which is the Breakpoint Settings window.

Here is a summary of the main Breakpoints windows and hotkeys:

Feature

Menu Location

Hotkey

New breakpoint, toggle breakpoint

Debug / Toggle Breakpoint

context menu in editor / Insert breakpoint

click in left margin

F9

New function breakpoint

Debug / New Breakpoint / Function Breakpoint

In Visual Studio 2015 RTM (with no updates), use ALT + F9, B

In Visual Studio 2015 Update 1 and later, use CTRL + B

Breakpoints window

Debug / Windows / Breakpoints

CTRL + ALT + B

Breakpoint Settings, Conditions

context menu on the breakpoint / Conditions

ALT + F9, C

Breakpoint Settings, Actions

context menu on the breakpoint / Actions

No hotkey

For more information, see the following articles:

  1. Using Breakpoints

  2. New Breakpoint Configuration Experience

  3. Breakpoint Configuration Experience

The new Exception Settings window allows you to specify the kind of exception handling you want for single exceptions or categories of exceptions.

Feature

Menu Location

Hotkey

Exception Settings window

Debug / Windows / Exception Settings

CTRL + ALT + E

For more information, see the following articles:

  1. Managing Exceptions with the Debugger

  2. The New Exceptions Window

In Visual Studio 2015, you can set Edit and Continue in the Tools / Options / Debugging / General page. In previous versions, these settings were in a separate options category.

In Visual Studio 2015 the Attach to Process command is available only from the Debug menu. In previous version it had been available from the Tools menu as well. The CTRL + ALT + P hotkey works in all versions.

Show:
© 2016 Microsoft