How to analyze a Windows crash dump with AI assistance
متى تستخدمه: You have a .dmp file from a crash and need to understand what happened.
المتطلبات الأساسية
- Windows with Debugging Tools/WinDbg — Install from Microsoft Store or Windows SDK
- mcp-windbg installed — pip install mcp-windbg
الخطوات
-
Open the dumpOpen the crash dump at C:\dumps\app_crash.dmp. Run !analyze -v and explain what caused the crash.✓ تم النسخ→ 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?✓ تم النسخ→ Annotated call stack with function descriptions
-
Check for patternsRun !locks and !heap -s. Is there a deadlock or heap corruption?✓ تم النسخ→ Lock/heap analysis results with interpretation
النتيجة: Root cause of the crash identified with a clear explanation.
المزالق
- Missing symbol files — Set up a symbol path: .sympath SRV*c:\symbols*https://msdl.microsoft.com/download/symbols