Skip to content

dotnet-dump analyze documentation lacks information about dumpheap command #37202

@gabbersepp

Description

@gabbersepp

Issue description

In former versions of dotnet-dump analyze I where able to search for types in the heap by typing dumpheap -T xxxxx. I setup a new dotnet project for playing around with diagnostics stuff and used RUN dotnet-install dotnet-dump in the Dockerfile. In the container I tried to analyze a dump. dumpheap -T xxx gave me this error:

System.ArgumentException: Invalid start address: -T

I took a look into the help and saw:

dumpheap <memoryrange>                     Displays a list of all managed objects.

But the official documentation says:

dumpheap | Displays info about the garbage-collected heap and collection statistics about objects.

Can you please fix the documentation and tell me how I can achieve the type filtering with the new version?

Target framework

  • [x ] .NET Core 6.0.414
  • .NET Framework
  • .NET Standard
.NET SDK (reflecting any global.json):
 Version:   6.0.414
 Commit:    dc3b5c4341

Runtime Environment:
 OS Name:     debian
 OS Version:  11
 OS Platform: Linux
 RID:         debian.11-x64
 Base Path:   /usr/share/dotnet/sdk/6.0.414/

global.json file:
  Not found

Host:
  Version:      6.0.22
  Architecture: x64
  Commit:       4bb6dc195c

.NET SDKs installed:
  6.0.414 [/usr/share/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 6.0.22 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 6.0.22 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
  https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
  https://aka.ms/dotnet/runtimes-sdk-info

Document Details

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions