Visual Studio Toolbox (HD) - Channel 9

Why is Async Code Hard to Debug?


Listen Later

Isadora Rodopoulos, an engineer on the Visual Studio Debugging team, joins us to kick off a mini-series on debugging async code. Today she explains how async code works behind the scenes and provides some insights into why it is hard to debug. Next week Isadora will explore tooling in Visual Studio to debug async code. Resources: Demo Source Code: https://github.com/isadorasophia/ReadMySongsDavid Fowler's Async Best Practices: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.mdDissecting Async Methods in C# Blog Post: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.mdDebugging Async Code in VS Blog Post: https://devblogs.microsoft.com/visualstudio/how-do-i-debug-async-code-in-visual-studio/Debugging Async in VS Video: https://www.youtube.com/watch?v=aVEug50YpaMBest Practices w/ Threading in VS: https://github.com/microsoft/vs-threading/blob/main/doc/cookbook_vs.mdConfigureAwait FAQ: https://devblogs.microsoft.com/dotnet/configureawait-faq/Sharplab Compiler Playground for Demo Code: https://sharplab.io/
...more
View all episodesView all episodes
Download on the App Store

Visual Studio Toolbox (HD) - Channel 9By Microsoft