跳到正文
cccskills
免费在 GitHub 公开

dotnet-windbg-debugging

Debugs Windows apps via WinDbg MCP. Crash, hang, high-CPU, and memory triage from dumps or live attach.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

Code Navigation (Serena MCP)

Primary approach: Use Serena symbol operations for efficient code navigation:

  1. Find definitions: serena_find_symbol instead of text search
  2. Understand structure: serena_get_symbols_overview for file organization
  3. Track references: serena_find_referencing_symbols for impact analysis
  4. Precise edits: serena_replace_symbol_body for clean modifications

When to use Serena vs traditional tools:

  • Use Serena: Navigation, refactoring, dependency analysis, precise edits
  • Use Read/Grep: Reading full files, pattern matching, simple text operations
  • Fallback: If Serena unavailable, traditional tools work fine

Example workflow:

# Instead of:
Read: src/Services/OrderService.cs
Grep: "public void ProcessOrder"

# Use:
serena_find_symbol: "OrderService/ProcessOrder"
serena_get_symbols_overview: "src/Services/OrderService.cs"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Patterns and techniques for evaluating and improving AI agent outputs.

中文简介正在准备中。当前显示原文说明。

rudironsoni/Synaxis22026年3月17日 更新

Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations.

中文简介正在准备中。当前显示原文说明。

rudironsoni/Synaxis22026年3月17日 更新

Use when user requests research requiring multiple sources, comprehensive analysis, or synthesis across topics - technical research, domain knowledge gathering, market analysis, or learning about complex subjects

中文简介正在准备中。当前显示原文说明。

rudironsoni/Synaxis22026年3月17日 更新

deep-wiki

免费

AI-powered wiki generation for code repositories with commands, agents, and skills

中文简介正在准备中。当前显示原文说明。

rudironsoni/Synaxis22026年3月17日 更新

Use when building .NET 10 or C# 14 applications; when using minimal APIs, modular monolith patterns, or feature folders; when implementing HTTP resilience, Options pattern, Channels, or validation; when seeing outdated patterns like old extension method syntax

中文简介正在准备中。当前显示原文说明。

rudironsoni/Synaxis22026年3月17日 更新

Implements accessible .NET UI. SemanticProperties, ARIA, AutomationPeer, testing per platform.

中文简介正在准备中。当前显示原文说明。

rudironsoni/Synaxis22026年3月17日 更新

查看 rudironsoni 的全部技能

报告此技能的问题