Workshop: Post‑mortem Debugging (Part 2)
summary
Covers post-mortem debugging of production crashes and hangs in backend services: identifying symptoms like process freezes, resource starvation and service outages, and investigating root causes. Demonstrates practical techniques and tools for diagnosing failures (log analysis, forensic investigation) and walks through hands-on examples of tracing problems to their origins.
AI-written summary · about
chapters (25)
- 0:00Introduction
- 0:11Practical setup
- 1:15Windbg and Hang project
- 3:07Symbols and dumps
- 5:03SOS and thread analysis
- 10:08Managed vs unmanaged threads
- 12:40Dictionary deadlock
- 13:21Hang 2 project
- 14:54SOS for Core CLR
- 16:16PDB symbols with Sim noisy
- 18:03Debugging workflow
- 20:31Deadlocks with DLK
- 26:47Real deadlocks
- 34:33Deadlock solution
- 38:30DumpAsynq and WPF deadlocks
- 40:58State machines in dumps
- 44:51Time travel debugging
- 49:01WPF deadlock analysis
- 53:47High CPU causes
- 57:17High CPU symptoms
- 59:33Crash debugging
- 1:00:16Stack overflow and AV
- 1:12:44Crash 2 demo
- 1:15:37Analyze with !analyze -v
- 1:19:09Summary
