Diagnosing Asynchronous C# Code
summary
The talk explains how to diagnose hangs and performance problems in asynchronous C# code. It covers typical causes of asynchronous operations stalling, techniques and tools for analyzing and debugging async issues from memory dumps and runtime diagnostics, and best practices to reduce such problems in widespread async code.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:40Async code problems
- 8:13How async methods work
- 14:14Sync call issues
- 26:52Debugging async code
- 38:50Sync context problem
- 43:09TaskCompletionSource usage
- 58:15Key problems and solutions
- 1:00:24Summary
related talks
58mThe async Operator — C#'s Biggest Mistake?
01h 00mAvoiding common pitfalls with async/await
01h 01mThe promise of an async future awaits
58mYield at Me, 'Cause I'm Awaiting: Asynchronous Iterators in C# 8
57mAsynchronous streams
54mC# 8 and Beyond
47mExploring C# 8: The Deep Dive
01h 01mDynamic Runtime Code with Roslyn
