{"id":12865,"date":"2020-06-16T10:51:00","date_gmt":"2020-06-16T18:51:00","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/vsnews\/?p=12865"},"modified":"2020-06-16T10:51:00","modified_gmt":"2020-06-16T18:51:00","slug":"aa8oxbh","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/vsnews\/akams-aa8oxbh\/","title":{"rendered":"How Do I Debug Async Code in Visual Studio?"},"content":{"rendered":"<p class=\"\">In a\u00a0<a href=\"https:\/\/devblogs.microsoft.com\/visualstudio\/how-do-i-think-about-async-code\/\">recent post<\/a>, we explored the basics of asynchronous code, why it\u2019s important, and how to write it in C#.\u00a0 However, while it can improve your program\u2019s overall throughput, async code is still not exempt from bugs!\u00a0 Writing async code makes debugging more difficult when potential deadlocks, vague error messages, and finding which task(s) are causing a bug are thrown into the mix.\u00a0 Luckily, Visual Studio has several new and old features compatible with managed, native, and JavaScript to help ease your frustrations with debugging async code.\u00a0 Let\u2019s take a tour!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In a\u00a0recent post, we explored the basics of asynchronous code, why it\u2019s important, and how to write it in C#.\u00a0 However, while it can improve your program\u2019s overall throughput, async code is still not exempt from bugs!\u00a0 Writing async code makes debugging more difficult when potential deadlocks, vague error messages, and finding which task(s) are [&hellip;]<\/p>\n","protected":false},"author":18258,"featured_media":8227,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-12865","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allskus"],"acf":[],"blog_post_summary":"<p>In a\u00a0recent post, we explored the basics of asynchronous code, why it\u2019s important, and how to write it in C#.\u00a0 However, while it can improve your program\u2019s overall throughput, async code is still not exempt from bugs!\u00a0 Writing async code makes debugging more difficult when potential deadlocks, vague error messages, and finding which task(s) are [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts\/12865","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/users\/18258"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/comments?post=12865"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts\/12865\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/media\/8227"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/media?parent=12865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/categories?post=12865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/tags?post=12865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}