windbg-diagnostic-meth…
Use with every WinDbg plugin investigation to apply evidence-first reasoning, confidence…
Use when a native C/C++ app, service, or user-mode driver host (including UMDF) crashes with a structured exception in a dump or WinDbg session, including native faults inside managed processes. Not for managed .NET exceptions, WinUI/XAML app errors, or kernel bugchecks.
$ npx -y skills add microsoft/win-dev-skills --skill windbg-user-exception-triage --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/windbg-user-exception-triageContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when a native C/C++ app, service, or user-mode driver host (including UMDF) crashes with a structured exception in a dump or WinDbg session, including native faults inside managed processes. Not for managed .NET exceptions, WinUI/XAML app errors, or kernel bugchecks.
name: windbg-user-exception-triage description: 'Use when a native C/C++ app, service, or user-mode driver host (including UMDF) crashes with a structured exception in a dump or WinDbg session, including native faults inside managed processes. Not for managed .NET exceptions, WinUI/XAML app errors, or kernel bugchecks.'
**Load `windbg-diagnostic-method` first** if it is not already loaded in this conversation, and apply it throughout for evidence ranking, hypothesis testing, confidence calibration, independent review, and report validation. This skill adds the bug-family-specific commands and evidence requirements.
Start here for access violations, heap corruption, stack overflow, fail-fast, breakpoints, and other structured exceptions in a native application, service, or user-mode driver host process dump. This includes UMDF driver failures that occur in their user-mode host. Confirm the dump type from WinDbg; the filename extension alone does not distinguish user-mode from kernel-mode dumps.
.exr -1 .ecxr k !analyze -v
Record the exception code, address, parameters, access type, registers, module, and stack. `.ecxr` selects the saved exception context when available. If no exception context was captured, report that limitation rather than treating the currently selected thread as the faulting thread.
Use matching binaries and PDBs for your modules and public Windows symbols. Investigate mismatches or truncated stacks before naming a failing source line.
| Evidence | Next step | |---|---| | `0xC0000005` with allocation/free or overrun evidence | `windbg-user-heap-corruption-investigation` | | `0xC0000374` heap corruption | `windbg-user-heap-corruption-investigation` | | `0xC0000017`, `0x8007000E`, or an allocation-failure path | `windbg-user-virtual-memory-exhaustion` | | Lock/unlock failure following coroutine suspension | `windbg-user-mutex-held-across-co-await` | | A TTD recording is available and earlier mutation is in question | `windbg-user-ttd-reverse-debugging-triage` | | No crash exception and evidence of blocked work | `windbg-user-wait-chain-analysis` | | A kernel dump reports a bugcheck | `windbg-kernel-bugcheck-triage` |
Do not classify every address in a heap range as a lifetime bug. Check access type, faulting instruction, object layout, and valid allocation boundaries.
object/register used, and whether bounds, ownership, or synchronization was violated. Distinguish a null pointer from stale or corrupted state.
fast-fail subcode, then the failing condition and call path. The historical status name alone does not prove a buffer overrun or rule one out. Not every fast-fail carries an HRESULT.
recursion, reentrancy, large frames, and inability to commit stack growth. Use the memory-exhaustion skill when commit evidence supports that branch.
identify the throw/catch path with available symbols, and inspect the exception information supported by the runtime/version. A first-chance throw is not automatically a defect. This package does not decode thrown-object layouts or fully diagnose `noexcept`/termination behavior.
final failure. Correlate its originating stack and nested errors with the application; this package does not include a XAML extension workflow.
code-corruption hypotheses from intentional assertions/debug breaks.
For this skill, follow the plugin's `FEEDBACK.md` and report a reviewed, sanitized issue to [WinDbg-Feedback](https://github.com/microsoft/WinDbg-Feedback/issues). Include `windbg-user-exception-triage` and the package version from `plugin.json`; do not upload dumps or private source automatically.
Agent plugins for Windows development and debugging—from apps and services to kernel-mode drivers—with GitHub Copilot, Claude Code, OpenAI Codex, and more. Add this repo as a marketplace once, then install the plugins you need.
Repo: microsoft/win-dev-skills
Use with every WinDbg plugin investigation to apply evidence-first reasoning, confidence…
Use when a kernel dump reports a Windows bugcheck; decode parameters and recover exception or…
Use when kernel evidence shows stalled I/O, a power IRP, or completion/cancellation misuse;…
Use when kernel threads block on driver synchronization or Verifier reports a lock-order…
Use when a kernel dump contains Driver Verifier violations; inspect flags, bugcheck subcodes,…
Use when an app, service, or user-mode driver host heap fails or Application Verifier detects…