Edit Your C++ Code while Debugging with Hot Reload in Visual Studio 2022

David Li

Hot Reload support for C++ Applications

In Visual Studio 2022 Preview 2, we are happy to announce that Hot Reload is now supported for C++.

Hot Reload for C++, powered by Edit and Continue, is a new way of editing your code while actively debugging. Hot Reload allows you to apply code changes without stopping at a breakpoint or restarting your app.

Currently, Hot Reload is only supported for MSBuild C++ projects, but we are working on enabling support for CMake projects in an upcoming preview. 

Image Hot reload changing cube spin speed

To learn more about Hot Reload, please refer to the Visual Studio Blog post: Speed up your .NET and C++ development with Hot Reload in Visual Studio 2022

We Want Your Feedback: Survey

As we are looking at these experiences, please let us know how Hot Reload and/or Edit and Continue support for C++ can be further enhanced to improve your day-to-day productivity. We’re looking forward to your feedback.

Please participate in this 3-minute Hot Reload for C++ Survey.

You can also reach us on Twitter (@VisualC).