{"id":28456,"date":"2021-07-29T15:59:04","date_gmt":"2021-07-29T15:59:04","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/cppblog\/?p=28456"},"modified":"2023-05-18T18:49:54","modified_gmt":"2023-05-18T18:49:54","slug":"edit-your-c-code-while-debugging-with-hot-reload-in-visual-studio-2022","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/cppblog\/edit-your-c-code-while-debugging-with-hot-reload-in-visual-studio-2022\/","title":{"rendered":"Edit Your C++ Code while Debugging with Hot Reload in Visual Studio 2022"},"content":{"rendered":"<h2>Hot Reload support for C++ Applications<\/h2>\n<p>In Visual Studio 2022 Preview 2, we are happy to announce that Hot Reload is now supported for C++.<\/p>\n<p>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.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2021\/07\/HRShort.gif\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-28481\" src=\"https:\/\/devblogs.microsoft.com\/cppblog\/wp-content\/uploads\/sites\/9\/2021\/07\/HRShort.gif\" alt=\"Image Hot reload changing cube spin speed\" width=\"1200\" height=\"675\" \/><\/a><\/p>\n<p>To learn more about Hot Reload, please refer to the Visual Studio Blog post: <a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/speed-up-your-dotnet-and-cplusplus-development-with-hot-reload-in-visual-studio-2022\">Speed up your .NET and C++ development with Hot Reload in Visual Studio 2022<\/a><\/p>\n<h2>We Want Your Feedback: Survey<\/h2>\n<p>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\u2019re looking forward to your feedback.<\/p>\n<p><strong>Please participate in this 3-minute <a href=\"https:\/\/www.surveymonkey.com\/r\/B7GRLF6\">Hot Reload for C++ Survey<\/a>.<\/strong><\/p>\n<p>You can also reach us on Twitter (@VisualC).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 during debugging.<\/p>\n","protected":false},"author":39811,"featured_media":28472,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1,3927],"tags":[140,3900,55,3898,3899],"class_list":["post-28456","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cplusplus","category-game-development","tag-c","tag-debug","tag-debugging","tag-edit-and-continue","tag-hot-reload"],"acf":[],"blog_post_summary":"<p>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 during debugging.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/28456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/users\/39811"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/comments?post=28456"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/posts\/28456\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media\/28472"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/media?parent=28456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/categories?post=28456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/cppblog\/wp-json\/wp\/v2\/tags?post=28456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}