docs icon indicating copy to clipboard operation
docs copied to clipboard

Add examples to dotnet-gcdump doc

Open Copilot opened this issue 1 week ago • 0 comments

Summary

Adds Examples sections to dotnet-gcdump collect and dotnet-gcdump report commands, following the established pattern in dotnet-counters.md.

  • dotnet-gcdump collect: 4 examples covering process ID, custom output path, process name with verbose, and custom timeout
  • dotnet-gcdump report: 2 examples covering file-based and process-based report generation

Fixes #20138

Original prompt

This section details on the original issue you should resolve

<issue_title>Add examples to dotnet-gcdump doc</issue_title> <issue_description>Following the pattern of https://raw.githubusercontent.com/dotnet/docs/master/docs/core/diagnostics/dotnet-counters.md we should have an Examples h3 section following each Options h3 section.

Originally posted by @tdykstra in https://github.com/dotnet/docs/pull/19697


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 537141</issue_description>

Comments on the Issue (you are @copilot in this section)

@adegeo Thanks :D @gewarren Close/reopen for priority label.
  • Fixes dotnet/docs#20138

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.


Internal previews

📄 File 🔗 Preview link
docs/core/diagnostics/dotnet-gcdump.md docs/core/diagnostics/dotnet-gcdump

Copilot avatar Dec 02 '25 20:12 Copilot