How to analyze a Windows crash dump with AI assistance
Quand l'utiliser : You have a .dmp file from a crash and need to understand what happened.
Prérequis
- Windows with Debugging Tools/WinDbg — Install from Microsoft Store or Windows SDK
- mcp-windbg installed — pip install mcp-windbg
Déroulement
-
Open the dumpOpen the crash dump at C:\dumps\app_crash.dmp. Run !analyze -v and explain what caused the crash.✓ Copié→ Detailed crash analysis with exception type, faulting module, and call stack
-
Investigate the call stackShow me the full call stack of the faulting thread. What was the application doing when it crashed?✓ Copié→ Annotated call stack with function descriptions
-
Check for patternsRun !locks and !heap -s. Is there a deadlock or heap corruption?✓ Copié→ Lock/heap analysis results with interpretation
Résultat : Root cause of the crash identified with a clear explanation.
Pièges
- Missing symbol files — Set up a symbol path: .sympath SRV*c:\symbols*https://msdl.microsoft.com/download/symbols