- name
SKILL.md
El archivo de la skill permanece en el repositorio del publicador.
Pega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add microsoft/win-dev-skills --skill windbg-user-wait-chain-analysis -a cursor -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add microsoft/win-dev-skills --skill windbg-user-wait-chain-analysis -a claude-code -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add microsoft/win-dev-skills --skill windbg-user-wait-chain-analysis -a codex -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add microsoft/win-dev-skills --skill windbg-user-wait-chain-analysis -a grok -yEnvía el mensaje copiado en un chat de Grok Bot. El Bot obtiene este SKILL.md de GitHub y lo añade a las skills que comparten todos tus Bots.
Install this skill: https://github.com/microsoft/win-dev-skills/tree/HEAD/plugins/windbg/skills/windbg-user-wait-chain-analysisDel publicador
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.
Look for blocked work in an application, service, or user-mode driver host (including UMDF), and threads in wait, COM, RPC, or I/O paths. The process displaying the symptom may not own the underlying defect. Idle worker threads waiting normally are not evidence of a hang.
.lastevent
~*kb
!runaway
Confirm why the dump was collected. A dump is a snapshot; .lastevent does not
by itself certify "hang" or "no crash." Identify the UI/serving thread from
application evidence instead of assuming thread zero is always the UI thread.
If work is spinning rather than blocked, collect appropriate CPU evidence.
Inspect frames around WaitForSingleObject, WaitForMultipleObjects, COM
send/receive, and RPC calls. Use matching symbols/source for your own proxy,
interface, and server registration to determine what was requested.
For each edge record:
process / thread -> waited resource or request -> owner / serving thread
Do not guess a server PID from undocumented private COM layouts. Use available Wait Chain Traversal, RPC/COM tracing, application correlation IDs, or registration/process information, and explicitly mark unresolved edges.
Obtain authorized dumps or live state of the relevant server processes close enough in time to represent the same operation. Inspect their serving threads. For kernel context use documented commands such as:
!process 0 7
!thread <ethread>
Available user pages and symbol/context support vary by dump type. If the chain
ends in a kernel lock use windbg-kernel-lock-deadlock-triage; if blocked I/O is supported
by IRP evidence use windbg-kernel-irp-lifecycle-triage. Do not promise process heaps or
user stacks absent from the dump.
Multiple snapshots or tracing may be needed to distinguish transient waits from persistent blocking.
A synchronous COM call from an STA can pump messages and permit reentrancy. It is not automatically a deadlock. Investigate locks held across calls, callbacks, apartment access, and any non-pumping waits that form an actual dependency cycle.
Possible remedies include asynchronous APIs, shorter lock scopes, moving destruction/cross-process calls outside critical sections, and bounded wait/cancellation protocols where the API supports them. A timeout on the caller does not cancel server work by itself.
If work moves to another apartment, marshal apartment-bound interfaces, keep
captured state alive, and dispatch UI updates to the correct thread. Merely
capturing a COM pointer and this in a worker lambda is not a safe fix.
Identify the affected thread, relevant resources and owners, and demonstrated cycle or deepest supported blocker. Test the proposed remedy under concurrency, reentrancy, shutdown, and timeout/cancellation. Do not stop at "waiting in RPC." If the server dump or an owner edge is missing, state the unresolved hypothesis.
Follow FEEDBACK.md and submit only reviewed, sanitized feedback to
WinDbg-Feedback.
Include windbg-user-wait-chain-analysis and the package version from plugin.json; no
automatic capture or public upload of process dumps or full diagnostic
transcripts.
Use when an app, service, or user-mode driver host is unresponsive on locks, COM/RPC, I/O, or another process; follow the blocker chain. Not for a crash solely from an exception stack.
---name: windbg-user-wait-chain-analysisdescription: Use when an app, service, or user-mode driver host is unresponsive on locks, COM/RPC, I/O, or another process…---# plugins/windbg/skills/windbg-user-wait-chain-analysis/SKILL.mdPreguntas frecuentes
Descarga plugins/windbg/skills/windbg-user-wait-chain-analysis/SKILL.md desde el publicador, o copia la ruta y abre el repositorio. PlugMCP lista la skill y no aloja el archivo.
El publicador lo mantiene en https://github.com/microsoft/win-dev-skills.
Claude, Cursor, Codex y Grok Build pueden leer un SKILL.md que añadas desde el repositorio del publicador. Grok Bot lo instala cuando envías en un chat el enlace a la carpeta de la skill en GitHub.