C++ Team Blog

C++ tutorials, C and C++ news, and information about Visual Studio, Visual Studio Code, and Vcpkg from the Microsoft C++ team.

C++ Debugging Improvements in Visual Studio “14”

In Visual Studio 2015 we’ve introduced two improvements to the C++ debugging experience to address pain points that we’ve heard from you. Improved startup performance when launching applications (F5), and reduced the chance functions called from the Watch or Immediate windows deadlocking. Improved startup performance on ...
Comments are closed.0 0
C++

Project Support for Natvis

The past two releases of Visual Studio have evolved the Natvis format to allow developers to easily visualize their debug data inside the VC++ expression evaluator.  The first Visual Studio “14” CTP provides a new way for native developers to consume and manage their Natvis debug visualizers.  In response to requests from...
Comments are closed.0 0
C++

Native Memory Diagnostic Tools for Visual Studio “14” CTP

In Update 2 for Visual Studio 2013, memory diagnostic tools were added for Windows Store and Windows Phone that enable developers to monitor live memory consumption and take heap snapshots of their applications for further analysis.  The Visual Studio team is extending the existing tools to work for Windows Desktop applications in the ...
Comments are closed.0 0
C++

Native Memory Diagnostic Tools for Visual Studio “14” CTP

In Update 2 for Visual Studio 2013, memory diagnostic tools were added for Windows Store and Windows Phone that enable developers to monitor live memory consumption and take heap snapshots of their applications for further analysis.  The Visual Studio team is extending the existing tools to work for Windows Desktop applications in the ...
Comments are closed.0 0
C++

Examining stack traces of objects using Visual Studio 2013

It is quite common to have a program stopped in the debugger due to a crash or assertion caused by an object being in a bad state, and to track down the problem, you need to figure out how it got that way. In many cases, the call stack of the object's creation can provide valuable clues, but trying to get that call stack can be a significant ...
Comments are closed.0 0
C++

Code Debugging Content in Community

A few days ago, we called out some of the great debugging topics on the Microsoft Developer Network (MSDN) Library. Here are some excellent resources outside of the MSDN Library (in no particular order except the last one): If you know of additional resources, add them to the comments (or send them to me, ebattali@microsoft....
Comments are closed.0 0
C++

Code Debugging Topics on MSDN

The MSDN Library is a rich source of information about Microsoft products and technologies including Visual Studio and Visual C++. This post calls out some of the great code debugging topics available for Visual C++ native code developers.The best starting point for (re)visiting debugging topics is the Debugger Roadmap. It contains links to ...
Comments are closed.0 0
C++

Improved exception reporting for C++ Windows Store Apps in Visual Studio 2013

Windows 8.1 and Visual Studio 2013 come with improvements for exception reporting in the platform and the debugger which will make it easier for native Windows Store App developers to diagnose errors in their applications. In this post, I’ll discuss a few of those improvements that are available in Visual Studio 2013 and show the ...
Comments are closed.0 0
C++

Using Visual Studio 2013 to write maintainable native visualizations (natvis)

In Visual Studio 2012 we introduced the ability to create visualizations for native types using natvis files.  Visual Studio 2013 contains several improvements that make it easier to author visualizations for classes that internally make use of collections to store items.   In this blog post I’ll show an example ...
Comments are closed.0 0
C++

Just My Code for C++ in VS 2013

If you have experience debugging C# or Visual Basic code in Visual Studio, you are probably familiar with a debugging feature called Just My Code (JMC).  In Visual Studio 2013, we introduce Just My Code for C++.  In VS2013, the goal of this C++ JMC feature is to help the user focus on their code when viewing call stacks without ...
Comments are closed.0 0
C++

Feedback usabilla icon