Showing results for Diagnostics - C++ Team Blog

Apr 22, 2020
Post comments count23
Post likes count0

Finding build bottlenecks with C++ Build Insights

Kevin Cadieux
Kevin Cadieux

C++ Build Insights offers more than one way to investigate your C++ build times. In this article, we discuss two methods that you can use to identify bottlenecks in your builds: manually by using the vcperf analysis tool, or programmatically with the C++ Build Insights SDK. We present a case study that shows how to use these tools to speed up the G...

C++Diagnostics
Mar 6, 2020
Post comments count5
Post likes count0

Analyze your builds programmatically with the C++ Build Insights SDK

Kevin Cadieux
Kevin Cadieux

We're happy to announce today the release of the C++ Build Insights SDK, a framework that gives you access to MSVC build time information via C and C++ APIs. To accompany this release, we are making vcperf open source on GitHub. Because vcperf itself is built with the SDK, you can use it as a reference when developing your own tools. We’re excited ...

C++AnnouncementDiagnostics
Nov 5, 2019
Post comments count33
Post likes count2

Introducing C++ Build Insights

Kevin Cadieux
Kevin Cadieux

C++ builds should always be faster. In Visual Studio 2019 16.2, we’ve shown our commitment to this ideal by speeding up the linker significantly. Today, we are thrilled to announce a new collection of tools that will give you the power to make improvements of your own. If you've ever had time for breakfast while building C++, then you may have aske...

AnnouncementDiagnosticsfaster
May 10, 2019
Post comments count22
Post likes count0

Linux Development with C++ in Visual Studio 2019: WSL, ASan for Linux, Separation of Build and Debug

Erika Sweet
Erika Sweet

In Visual Studio 2019 you can target both Windows and Linux from the comfort of a single IDE. In Visual Studio 2019 version 16.1 Preview 3 we announced several new features specific to the Linux Workload: native support for the Windows Subsystem for Linux (WSL), AddressSanitizer integration, and the ability to separate build and debug targets. If y...

AnnouncementC++CMake
May 8, 2019
Post comments count7
Post likes count0

AddressSanitizer (ASan) for the Linux Workload in Visual Studio 2019

Erika Sweet
Erika Sweet

In Visual Studio 2019 version 16.1 Preview 3 we have integrated AddressSanitizer (ASan) into Visual Studio for Linux projects. ASan is a runtime memory error detector for C/C++ that catches the following errors: You can enable ASan for MSBuild-based Linux projects and CMake projects that target a remote Linux system or ...

AnnouncementCMakeNew Feature
Sep 26, 2018
Post comments count0
Post likes count0

Step Back – Going Back in C++ Time

Andy Sterland
Andy Sterland

Step Back for C++ In the most recent, 15.9, update to Visual Studio 2017 Enterprise Edition, we’ve added “Step Back” for C++ developers targeting Windows 10 Anniversary Update (1607) and later. With this feature, you can now return to a previous state while debugging without having to restart the entire process. It’s installed as part of the C++ w...

AnnouncementNew FeatureDiagnostics
Mar 22, 2018
Post comments count0
Post likes count0

C++ Core Checks in Visual Studio 2017 15.7 Preview 2

Sunny Chatterjee
Sunny Chatterjee

This post was written by Sergiy Oryekhov. The C++ Core Guidelines Check extension received several new rules in Visual Studio 2017 15.7 Preview 2. The primary focus in this iteration was on the checks that would make it easier to adopt utilities from the Guidelines Support Library. Below is a quick summary of these additions. For more detailed inf...

DiagnosticsWriting Code
Mar 13, 2018
Post comments count0
Post likes count0

C++ Code Analysis Improvements for Visual Studio 2017 15.7 Preview 1

Kyle Reed
Kyle Reed

点这里看中文版 We're making it easier to configure and use the C++ code analysis features with a set of changes targeting 15.7. In the first 15.7 preview we've cleaned up the UI, fixed our documentation links and, most importantly, simplified the way analysis extensions are configured.  If you're not familiar with C++ Core Check, it's a code analysis ext...

DiagnosticsWriting Code
Feb 23, 2018
Post comments count0
Post likes count0

Arithmetic overflow checks in C++ Core Check

Sunny Chatterjee
Sunny Chatterjee

点这里看中文版 We've improved the C++ Code Analysis toolset with every major compiler update in Visual Studio 2017. Version 15.6, now in Preview, includes a set of arithmetic overflow checks. This article discusses those checks and why you’ll want to enable them in your code. If you’re just getting started with C++ Code Analysis in Visual Studio, learn ...

DiagnosticsWriting Code
Dec 14, 2017
Post comments count0
Post likes count0

Image Watch is now available for Visual Studio 2017

Marian Luparu
Marian Luparu

点这里看中文版 Image Watch is a Visual Studio extension that provides a watch window for viewing in-memory bitmaps when debugging native C++ code. It comes with built-in support for OpenCV image types (e.g. cv::Mat, cv::Mat_<> , etc.). We know that, for many of you, this is an important part of your C++ debugging experience. We have received many...

AnnouncementDiagnostics