dotnet-windbg-debugging
Debugs Windows apps via WinDbg MCP. Crash, hang, high-CPU, and memory triage from dumps or live attach.
Best use case
dotnet-windbg-debugging is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Debugs Windows apps via WinDbg MCP. Crash, hang, high-CPU, and memory triage from dumps or live attach.
Teams using dotnet-windbg-debugging should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/dotnet-windbg-debugging/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How dotnet-windbg-debugging Compares
| Feature / Agent | dotnet-windbg-debugging | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Debugs Windows apps via WinDbg MCP. Crash, hang, high-CPU, and memory triage from dumps or live attach.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# dotnet-windbg-debugging Windows user-mode debugging using WinDbg MCP tools. Applicable to any Windows application -- native, managed (.NET/CLR), or mixed-mode. Guides investigation of crash dumps, application hangs, high CPU, and memory pressure through structured command packs and report templates. **Platform:** Windows only. ## Scope - Crash dump analysis (.dmp files) for any Windows process (native, .NET, or mixed-mode) - Live process attach via cdb debug server - Hang and deadlock diagnosis (thread analysis, lock detection) - High CPU triage (runaway thread identification) - Memory pressure and leak investigation via native heap analysis - Kernel dump triage (BSOD / bugcheck analysis) - COM/RPC wait chain and UI message pump analysis - Structured diagnostic reports with stack evidence ## Out of scope - .NET SDK diagnostic tools (dotnet-counters, dotnet-trace, dotnet-dump) -- see [skill:dotnet-profiling] - GC tuning and managed memory optimization -- see [skill:dotnet-gc-memory] - Performance benchmarking and regression detection -- see [skill:dotnet-benchmarkdotnet] - Application performance architecture patterns -- see [skill:dotnet-performance-patterns] ## MCP Tool Contract Use these `mcp-windbg` operations: 1. `mcp_mcp-windbg_open_windbg_remote` -- attach to a live debug server 2. `mcp_mcp-windbg_open_windbg_dump` -- open a saved dump file 3. `mcp_mcp-windbg_run_windbg_cmd` -- execute debugger commands 4. `mcp_mcp-windbg_close_windbg_remote` -- detach from live session 5. `mcp_mcp-windbg_close_windbg_dump` -- close dump session ## Quick Start 1. Configure and access MCP: see `reference/access-mcp.md` 2. Choose workflow: - Live attach: see `reference/live-attach.md` - Dump analysis: see `reference/dump-workflow.md` 3. Choose a task reference: see `reference/scenario-command-packs.md` 4. Use support references as needed: - Sanity check: `reference/sanity-check.md` - Symbols: `reference/symbols.md` - Common patterns: `reference/common-patterns.md` - Capture playbooks: `reference/capture-playbooks.md` 5. Return results using `reference/report-template.md` 6. Close the debug session. ## Completion Criteria - Correct mode selected (live or dump) - Task reference executed for the symptom - Findings reference concrete stacks/threads/modules - Session closed cleanly ## Guardrails - Do not claim certainty without callee-side evidence - Do not call it a deadlock unless lock/wait evidence supports it - Preserve user privacy: do not include secrets from environment blocks in reports Cross-references: [skill:dotnet-profiling] for .NET SDK diagnostic tools, [skill:dotnet-gc-memory] for managed GC and memory tuning. ## References - [WinDbg MCP](https://github.com/anthropics/windbg-mcp) -- MCP server for WinDbg integration - [WinDbg Documentation](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/) -- Microsoft debugger documentation
Related Skills
error-debugging-error-analysis
You are an expert error analysis specialist with deep expertise in debugging distributed systems, analyzing production incidents, and implementing comprehensive observability solutions.
eds-performance-debugging
Guide for debugging and performance optimization of EDS blocks including error handling, FOUC prevention, Core Web Vitals optimization, and debugging workflows for Adobe Edge Delivery Services.
dotnet-webapi
Build ASP.NET Core Web APIs with .NET 10 (C# 14.0). Supports project scaffolding, CRUD operations, Entity Framework integration, dependency injection, testing with xUnit, Docker containerization, and following 2025 best practices. Use when creating REST APIs, microservices, backend services, implementing CRUD operations, setting up Entity Framework, adding authentication/authorization, or containerizing .NET applications. Triggers on .NET, ASP.NET Core, C#, Web API, REST API, microservices, dotnet, csharp development tasks.
dotnet-to-react-python-refactor
Agent skill for refactoring .NET applications into a React frontend + Python backend. Use for migrating/modernizing .NET apps (ASP.NET MVC, Web API, Blazor, Web Forms) to React + Python, or analyzing .NET codebases for migration planning.
dotnet-testing
Write and run .NET tests following TDD principles. Use when writing tests, implementing TDD workflow, verifying test coverage, or debugging test failures.
dotnet-maui
.NET MAUI component and application patterns Triggers on: **/*.xaml, **/*.cs
dotnet-framework
Guidance for working with .NET Framework projects. Includes project structure, C# language version, NuGet management, and best practices. Triggers on: **/*.csproj, **/*.cs
dotnet-framework-4-8-expert
Expert .NET Framework 4.8 specialist mastering legacy enterprise applications. Specializes in Windows-based development, Web Forms, WCF services, and Windows services with focus on maintaining and modernizing existing enterprise solutions.
dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuratio...
dotnet-aspire
Adds .NET Aspire cloud-native orchestration to existing .NET solutions. Analyzes solution structure to identify services (APIs, web apps, workers), creates AppHost and ServiceDefaults projects, configures service discovery, adds NuGet packages, and sets up distributed application orchestration. Use when adding Aspire to .NET solutions or creating new cloud-ready distributed applications.
dotnet-aspire-patterns
Orchestrates .NET Aspire apps. AppHost, service discovery, components, dashboard, health checks.
dotnet-advisor
Routes .NET/C# work to domain skills. Loads coding-standards for code paths.