dump-collect

Configure and collect crash dumps for .NET applications across platforms.

5.1k|377|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/dotnet/skills --skill dump-collect
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dump-collect
Source: https://github.com/dotnet/skills/tree/main/plugins/dotnet-diag/skills/dump-collect
Command: npx skills add https://github.com/dotnet/skills --skill dump-collect

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you automatically capture detailed crash dumps from .NET applications when they encounter unexpected errors, enabling faster debugging and issue resolution.

Core Features & Use Cases

  • Automatic Dump Collection: Configure your .NET application to generate a dump file upon crashing.
  • On-Demand Dump Capture: Manually trigger a dump collection from a running .NET process.
  • Container Support: Works seamlessly within Docker and Kubernetes environments.
  • Use Case: Your .NET web service suddenly crashes in production. This Skill ensures a dump file is automatically generated, allowing your team to analyze the root cause without needing to reproduce the crash.

Quick Start

Use the dump-collect skill to enable automatic crash dumps for a CoreCLR application running on Linux.

Frequently Asked Questions about dump-collect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I capture crash dumps automatically for a .NET CoreCLR application?

To capture crash dumps automatically for a .NET CoreCLR application, you can configure the runtime to generate a dump file upon crashing. This requires identifying the specific platform to select the appropriate collection method like dotnet-dump or procdump.

Can I collect crash dumps from a .NET app running in a Kubernetes container?

Yes, you can collect crash dumps from a .NET application running in a Kubernetes container. The dump collection process supports containerized environments, allowing you to automatically generate or manually trigger dumps within Docker and Kubernetes deployments.

How do I trigger an on-demand dump from a running .NET process?

To trigger an on-demand dump from a running .NET process, you can use collection tools like dotnet-dump, gcore, or procdump. This manual capture method extracts a dump file from a live process for immediate troubleshooting.

Does dump collection work with NativeAOT applications?

Yes, dump collection works with NativeAOT applications. The process configures and collects crash dumps for modern .NET applications, including both CoreCLR and NativeAOT runtimes, by selecting the appropriate method based on the identified runtime environment.

What is the best way to configure .NET crash dumps on Linux?

The best way to configure .NET crash dumps on Linux is to identify the CoreCLR or NativeAOT runtime and use compatible tools like dotnet-dump, gcore, or procdump. This ensures the correct automatic collection method is applied for your environment.