{"id":252584,"date":"2025-03-05T07:39:27","date_gmt":"2025-03-05T15:39:27","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/visualstudio\/?p=252584"},"modified":"2025-03-13T11:57:39","modified_gmt":"2025-03-13T18:57:39","slug":"new-debugging-and-profiling-features-in-visual-studio-v17-13","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/visualstudio\/new-debugging-and-profiling-features-in-visual-studio-v17-13\/","title":{"rendered":"New Debugging and Profiling Features in Visual Studio (v17.13)"},"content":{"rendered":"<p>The latest Visual Studio update (v17.13) brings a strong set of debugging and profiling features designed to speed up troubleshooting, making it more efficient. With AI-driven features in this release, variable analysis and data inspection are smarter and more intuitive, and problems are easier to identify and debug. Profiling tool improvements also deliver better support and visualization for multi-process execution, native code, and async workflows, with clearer insights into performance bottlenecks. For a full list of debugger and diagnostics features in this release, check out the <a href=\"https:\/\/learn.microsoft.com\/visualstudio\/releases\/2022\/release-notes-preview\">release notes<\/a>.<\/p>\n<p><div  class=\"d-flex justify-content-left\"><a class=\"cta_button_link btn-primary mb-24\" href=\"https:\/\/visualstudio.microsoft.com\/downloads\/\" target=\"_blank\">Download Visual Studio 2022 v17.13<\/a><\/div><\/p>\n<h2>GitHub Copilot Assisted Debugging Features<\/h2>\n<h3>Smarter exception and variable analysis<\/h3>\n<p>GitHub Copilot Exception Analysis and Variable Analysis now use your project context intelligently to find and bring to your attention the most relevant code to errors.<\/p>\n<p>With sharper, actionable insights and smarter, context-aware solutions, these capabilities can guide you to the root cause of issues more quickly, make your debugging workflow more streamlined, and provide greater overall accuracy in debugging errors.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-252585\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-1.png\" alt=\"GitHub Copilot explaining an error\" width=\"749\" height=\"716\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-1.png 749w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-1-300x287.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-1-24x24.png 24w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/p>\n<h3>AI-Powered Parallel Stacks window<\/h3>\n<p>Auto-Summarize in Parallel Stacks gives you AI-generated summaries so you can get a quick idea of what each thread is doing. Copilot Chat Integration with App Summarization goes a step further, identifying probable problems, recommending solutions, and enabling you to ask questions, get them explained, and get AI-powered suggestions\u2014all in the context of your debugging session.<\/p>\n<p>Combined, these tools simplify parallel debugging so you can diagnose and repair threading problems more quickly and confidently.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/Screenshot-2025-03-13-114938.png\"><img decoding=\"async\" class=\"alignnone wp-image-252720\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/Screenshot-2025-03-13-114938.png\" alt=\"Image Screenshot 2025 03 13 114938\" width=\"869\" height=\"514\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/Screenshot-2025-03-13-114938.png 1382w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/Screenshot-2025-03-13-114938-300x178.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/Screenshot-2025-03-13-114938-1024x606.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/Screenshot-2025-03-13-114938-768x455.png 768w\" sizes=\"(max-width: 869px) 100vw, 869px\" \/><\/a><\/p>\n<h3>Enhanced Editable Expressions in IEnumerable Visualizer<\/h3>\n<p>The IEnumerable Visualizer now features GitHub Copilot Inline Chat, allowing you to refine editable expressions using natural language. Open a prompt with the Copilot sparkle button, tell it what you would like to change, and receive AI-generated LINQ queries for customized filtering your data. Including syntax highlighting to make it easier to read.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-252587\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-3.png\" alt=\"IEnumerable expression Visualizer\" width=\"848\" height=\"130\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-3.png 848w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-3-300x46.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-3-768x118.png 768w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/p>\n<h2>Profiling Features<\/h2>\n<h3>Targeted Instrumentation for native code<\/h3>\n<p>The Instrumentation tool in the Visual Studio now has targeted instrumentation for native code, allowing you to choose functions and classes to inspect thoroughly.<\/p>\n<p>This improves performance monitoring and makes it easier for you to spot issues, streamlining your debugging experience.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-252588\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-4.png\" alt=\"List of instruments you can easily select and view\" width=\"824\" height=\"1155\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-4.png 824w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-4-214x300.png 214w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-4-731x1024.png 731w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-4-768x1077.png 768w\" sizes=\"(max-width: 824px) 100vw, 824px\" \/><\/p>\n<h3>Display unified async stacks in profiler<\/h3>\n<p>The Visual Studio profiler now improves debugging of .NET applications by showing stitched async stacks in the summary and detail call tree windows.<\/p>\n<p>This feature gives a more cohesive, clearer picture of asynchronous operations, making it easier for developers to follow the entire execution path, including asynchronous method calls, in a single, unified stack trace.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-252589\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-5.png\" alt=\"Detailed tree view of call stacks\" width=\"765\" height=\"430\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-5.png 765w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-5-300x169.png 300w\" sizes=\"(max-width: 765px) 100vw, 765px\" \/><\/p>\n<h3>Multiprocess Analysis with Color-Coded Swimlanes in CPU Usage<\/h3>\n<p>CPU Usage tool in the Visual Studio profiler now supports multiprocess analysis, with performance graphs displayed as separate color coding for each process in swim lanes.<\/p>\n<p>The graphs are displayed as stacked area charts. You can also filter processes by a dropdown at the top left, to enable focused analysis.<\/p>\n<p>This enhancement enables you to profile and isolate CPU usage by process with ease in one session. Providing better visualization of resource usage, it optimizes profiling performance and simplifies multiprocess application performance tuning.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-252590\" src=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-6.png\" alt=\"graph of CPU usage\" width=\"1142\" height=\"189\" srcset=\"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-6.png 1142w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-6-300x50.png 300w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-6-1024x169.png 1024w, https:\/\/devblogs.microsoft.com\/visualstudio\/wp-content\/uploads\/sites\/4\/2025\/03\/word-image-252584-6-768x127.png 768w\" sizes=\"(max-width: 1142px) 100vw, 1142px\" \/><\/p>\n<h2>Thank you!<\/h2>\n<p>We aim to make your debugging and profiling experience as smooth and productive as it can be. We really appreciate the feedback and suggestions you provide, as that is what determines the direction of the tools you use daily. Never stop providing us with feedback, as we can keep making Visual Studio an excellent and user-friendly tool for developers like you.<\/p>\n<p>Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The latest Visual Studio update (v17.13) brings a strong set of debugging and profiling features designed to speed up troubleshooting, making it more efficient. With AI-driven features in this release, variable analysis and data inspection are smarter and more intuitive, and problems are easier to identify and debug. Profiling tool improvements also deliver better support [&hellip;]<\/p>\n","protected":false},"author":26573,"featured_media":252585,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6888,6962,6967,155],"tags":[9,6924,6743],"class_list":["post-252584","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-copilot","category-debug","category-github-copilot","category-visual-studio","tag-debug","tag-github-copilot","tag-profiling"],"acf":[],"blog_post_summary":"<p>The latest Visual Studio update (v17.13) brings a strong set of debugging and profiling features designed to speed up troubleshooting, making it more efficient. With AI-driven features in this release, variable analysis and data inspection are smarter and more intuitive, and problems are easier to identify and debug. Profiling tool improvements also deliver better support [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/252584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/users\/26573"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/comments?post=252584"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/posts\/252584\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media\/252585"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/media?parent=252584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/categories?post=252584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/visualstudio\/wp-json\/wp\/v2\/tags?post=252584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}