C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
Open Sourcing Visual Studio’s GDB/LLDB Debug Engine
You will have seen by now that we have added support for debugging C++ on Android and debugging C++ on iOS debugging C++ on iOS from Visual Studio 2015. As part of this work, we have developed a Visual Studio debug engine that is capable of communicating with both GDB and LLDB from Visual Studio. Today we’re happy to announce that we plan to release the source code for this engine as an open source project. While the code is not publicly available today, we thought we’d anticipate and answer some questions that this announcement may generate. What does this debug engine enable? We have done the work t...
Debugging C++ code on iOS with Visual Studio 2015
Following up on our previous announcement that Visual Studio added support for debugging C++ on Android we are excited to announce that we now support debugging C++ on iOS as well. Before continuing I would recommend reading the Visual Studio C++ support for iOS announcement and the instructions for how to set up your environment to enable Visual Studio to deploy, build, and debug to iOS. The Visual Studio 2015 RC debugging experience includes (but is not limited to): F5, Output window, Breakpoints, Step Into/Over/Out, Run To Cursor, Call Stack, Data and Variable windows, Modules window, Address level debugging ...
Natvis support for Android debugging
Hopefully you’ve seen our support for debugging C++ code on Android in Visual Studio 2015. Now in our RC release we’re pleased to announce that we’ve added support for natvis files to help visualize your native types. Customers using our previous CTP versions let us know that having natvis support for common classes such as the Standard Template Library (STL) container classes (e.g. vector, map, stack, queue, etc.) would be extremely helpful when debugging. To see natvis in action, let’s look at a quick example of what inspecting a vector looks like with and without natvis. For the purpos...
C++11 Constant Expressions in Visual Studio 2015 RC
In Visual Studio 2015 RC, we have implemented C++11’s Constant Expressions, a feature that has been in development since the November 2013 CTP. This article will describe some neat things that you can do with it, the differences in capabilities between this feature’s current and older implementations, and our future plans for it. What Are Constant Expressions? The Constant Expressions feature allows you to create, using the constexpr keyword, computations that can run during compilation and whose results can be considered const. Something can only be declared constexpr if it satisfies all necessary co...
C/C++ Code analysis in VS2015 – RC Update
Hey Folks, in my blog earlier this year (see http://blogs.msdn.com/b/vcblog/archive/2015/02/02/c-c-code-analysis-in-vs2015.aspx), I talked about what's new in C/C++ code analysis for VS 2015 and why we did certain plumbing changes related to the front-end compiler. In that, I mentioned the limitation of CTP6 in which only analysis of C programs were working and C++ analysis was blocked. I also made a promise that we will make it work in a future update. Well, I am happy to report that we completed the work and now C++ analysis works with VS 2015 RC release. Enjoy!
Visual Studio 2015 and Graphics Tools for Windows 10
In Visual Studio 2012, we introduced Visual Studio Graphics Diagnostics for Direct3D. Since then, with every update and release of Visual Studio and every monthly preview release we have continued our commitment to improve and deliver great new features in these Direct3D graphics tools. I recently had the opportunity to demonstrate the graphics tools in Visual Studio 2015 and Windows 10 at Game Developers Conference 2015. I was floored by the great response from developers. The conference seemed to go by in a blinding flash, I was so busy talking to developer after developer. The interest was so great, I though...
Visual C++ Tools for Windows 10 Technical Preview
Earlier this week we announced the availability of the first preview of the Visual Studio 2015 tools for building Windows 10 applications. C++ continues to be an important language for building Windows apps and in this blog post, we want to highlight some C++ specific functionality for Windows 10 app development. Windows universal apps You will find some new C++ project templates which can be used to get started with creating Windows universal apps: API Contracts Windows 10 tools allow you to create universal apps through the usage of API contracts (described here). This enables you to start checking, ...
Visual Studio 2015 – Share Your Thoughts
Are you using Visual Studio 2015 for cross-platform development? Take our survey!In CTP 6, we've added or updated the following: We would love to get your thoughts on these and other features for cross-platform / native development in Visual Studio 2015. The survey doesn't take too long and provides an opportunity to engage with members of the Visual C++ team to discuss your development experience and unique challenges!Thanks for your continued support!
Going Native: Build Throughput, PCH Tool
The Visual C++ team is committed to improving your build throughput in VS2015, and we’re not just talking about shaving-off-a-few-seconds-chump-change. Check out our latest GoingNative video for a slew of tools to help you get those gains, and in particular, be sure to try out our Precompiled Header (PCH) Tool on VS Gallery and let us know how it works out for you!A properly configured Precompiled Header (PCH) can potentially speed up your build time by 10x or more, but not everyone is familiar with generating a PCH and/or setting up their project to make use of it. The PCH Tool helps analyze your project&r...