Showing results for 2021 - Page 3 of 7 - C++ Team Blog

Jul 28, 2021
Post comments count11
Post likes count0

Visual Studio Code C++ July 2021 Update: Disassembly View, Macro Expansion and Windows ARM64 Debugging

Julia Reid
Julia Reid

The July 2021 update of the C++ extension for Visual Studio Code is here, bringing you brand new features— such as a Disassembly View while debugging, inline macro expansions, and debug support for Windows ARM64 architecture—along with a bunch of enhancements and bug fixes. To find out more about all the enhancements, check out our release notes on...

C++
Jul 21, 2021
Post comments count3
Post likes count0

Using C++ Modules in MSVC from the Command Line Part 1: Primary Module Interfaces

Cameron DaCamara
Cameron DaCamara

In this three-part series we will explore how to build modules and header units from the command line as well as how to use/reference them. The goal of this post is to serve as a brief tour of compiling and using primary module interfaces from the command line and the options we use. Note: This tutorial will focus primarily on dealing with IF...

C++
Jul 14, 2021
Post comments count0
Post likes count1

Build and Debug C++ with WSL 2 Distributions and Visual Studio 2022

Erika Sweet
Erika Sweet

Visual Studio 2022 introduces a native WSL 2 toolset for C++ development. This toolset is available now in Visual Studio 2022 version 17.0 Preview 2. WSL 2 is the new, recommended version of the Windows Subsystem for Linux (WSL) architecture that provides better Linux file system performance, GUI support, and full system call compatibility. Visua...

C++AnnouncementCMake
Jul 7, 2021
Post comments count2
Post likes count0

Code Scanning C++ with GitHub Actions

Nick Uhlenhuth
Nick Uhlenhuth

Last year, GitHub released code scanning, which enables developers to incorporate security checks into their CI/CD environment and developer workflow. This post demonstrates the basics of using CodeQL, the analysis engine behind code scanning, with GitHub Actions. What is CodeQL? CodeQL is an analysis engine that automates security checks by runn...

C++
Jun 30, 2021
Post comments count7
Post likes count0

Customized Warning Levels and Code Analysis for External Headers

Will Buik
Will Buik

If you have tried to keep your code clean by selecting strict compiler warning levels or code analysis rulesets, you likely know how frustrating it can be to see these warnings for headers that are not part of your project. To alleviate this, we’ve made it easy to mark headers as external to your project in the latest preview Visual Studio 2019. Th...

C++
Jun 23, 2021
Post comments count6
Post likes count0

STL Visualizers on GitHub

Anju Del Moral Gonzalez
Anju Del Moral Gonzalez

We are happy to announce that now it’s possible to contribute to the STL Visualizers for Visual Studio's debugger on GitHub. A visualizer is a file with .natvis extension that allows you to manipulate the way native types appear in the debugger's watch window.  We've been working on fixing existing issues with the visualizers and augmenti...

C++Announcement
Jun 22, 2021
Post comments count0
Post likes count0

Address Sanitizer Now in “Early Release” for Xbox Developers

David Li
David Li

Address Sanitizer is now available on Xbox, developers can leverage this powerful technology to help debug memory issues in their titles.  Combined with the crash dump changes detailed here, it should provide all the flexibility required to support your automated tests suites and enable you to find issues quickly and easily.

C++Game Development
Jun 10, 2021
Post comments count0
Post likes count0

Static Analysis Fixes, Improvements, and Updates in Visual Studio 2019 version 16.10

Jordan Maples
Jordan Maples

The C++ static analysis team is committed to making your C++ coding experience as safe as possible. We are adding richer code safety checks and addressing high impact customer feedback bugs posted on the  C++ Developer Community page. Thank you for engaging with us and giving us great feedback on the past releases and early previews leading to this...

C++
Jun 9, 2021
Post comments count28
Post likes count0

<format> in Visual Studio 2019 version 16.10

Charlie Barto
Charlie Barto

C++20 adds a new text formatting facility to the standard library, designed primarily to replace and friends with a fast and type safe interface. The standardized library is based on the existing {fmt} library, so users of that library will feel at home. Before diving into how works I want to thank Victor Zverovich, Elnar Dakeshov, Casey Carte...

C++