Isadora Rodopoulos, an engineer on the Visual Studio Debugging team, wraps up our mini-series on debugging async code. In the first episode, she provided some insights into how async code works. Last week she introduced us to async call stacks and what information they contain. Today, she shows how to debug your async code in Visual Studio.
Resources:
- Source Code: https://github.com/isadorasophia/ReadMySongs
- David Fowler's Async Best Practices: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md
- Dissecting Async Methods in C# Blog Post: https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md
- Debugging 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=aVEug50YpaM
- Best Practices w/ Threading in VS: https://github.com/microsoft/vs-threading/blob/main/doc/cookbook_vs.md
- ConfigureAwait FAQ: https://devblogs.microsoft.com/dotnet/configureawait-faq/
- Sharplab Compiler Playground for Demo Code: https://sharplab.io/
