Skip to content

Diagnostics Release - v5.0.221401

Compare
Choose a tag to compare
@hoyosjs hoyosjs released this 22 Apr 21:14
2ee978c

dotnet-dump and dotnet-sos

  • A few commands have been added to dotnet-dump. These have also been made available when using SOS in WinDBG or LLDB, alongside other commands that were previously available only in dotnet-dump. The new commands are:
clrmodules                                 Lists the managed modules in the process.
dcd, dumpconcurrentdictionary <address>    Display concurrent dictionary content.
dcq, dumpconcurrentqueue <address>         Display concurrent queue content.
dg, dumpgen <generation>                   Displays heap content for the specified generation.
parallelstacks, pstacks                    Display merged stacks for all threads, similar to Visual Studio's 'Parallel Stacks' window.
taskstate, tks <address>                   Display a Task state in a human readable format.
threadpoolqueue, tpq                       Display queued ThreadPool work items.
ti, timerinfo                              Display running timers' details.

Note:!ext must be prepended to the command to use them in WinDBG, for example !ext parallelstacks.

To learn more about their usage, consult the soshelp command.

  • dotnet-dump's command history is now persisted across sessions.
  • dotnet-sos now honors the environment variable DOTNET_ROOT to find a host runtime for managed commands.
  • gcheapstat and eeheap -gc now reports committed bytes as well.

dotnet-trace

  • Fixed reverse connection mode when running on macOS.
  • Added --show-child-io flag for displaying child process' standard IOs on reverse connections.

dotnet-counters

  • Various bug fixes and UI improvements.
  • Fixed reverse connection mode when running on macOS.
  • New runtime counter added - GC committed bytes.

dotnet-stack

A new tool, dotnet-stack, has been released. This tool can be used to obtain the stacks of all the managed threads of a .NET process, provided that the application targets .NET Core 3.1 or above. The documentation for this tool can be found at "dotnet-stack | Microsoft Docs".

Packages released to NuGet
  • dotnet-counters.5.0.221401.nupkg
  • dotnet-dump.5.0.221401.nupkg
  • dotnet-gcdump.5.0.221401.nupkg
  • dotnet-sos.5.0.221401.nupkg
  • dotnet-stack.5.0.221401.nupkg
  • dotnet-trace.5.0.221401.nupkg
  • Microsoft.Diagnostics.NETCore.Client.0.2.221401.nupkg
Global Tools - Single File Links

Note: All Windows assets are signed with a trusted Microsoft Authenticode Certificate. To verify
integrity for Linux and macOS assets check the CSV in the assets section of the release for their SHA512 hashes.

Tool Platform Download Link
dotnet-counters linux-arm Download
dotnet-dump linux-arm Download
dotnet-gcdump linux-arm Download
dotnet-sos linux-arm Download
dotnet-stack linux-arm Download
dotnet-trace linux-arm Download
dotnet-counters linux-arm64 Download
dotnet-dump linux-arm64 Download
dotnet-gcdump linux-arm64 Download
dotnet-sos linux-arm64 Download
dotnet-stack linux-arm64 Download
dotnet-trace linux-arm64 Download
dotnet-counters linux-musl-arm64 Download
dotnet-dump linux-musl-arm64 Download
dotnet-gcdump linux-musl-arm64 Download
dotnet-sos linux-musl-arm64 Download
dotnet-stack linux-musl-arm64 Download
dotnet-trace linux-musl-arm64 Download
dotnet-counters linux-musl-x64 Download
dotnet-dump linux-musl-x64 Download
dotnet-gcdump linux-musl-x64 Download
dotnet-sos linux-musl-x64 Download
dotnet-stack linux-musl-x64 Download
dotnet-trace linux-musl-x64 Download
dotnet-counters linux-x64 Download
dotnet-dump linux-x64 Download
dotnet-gcdump linux-x64 Download
dotnet-sos linux-x64 Download
dotnet-stack linux-x64 Download
dotnet-trace linux-x64 Download
dotnet-counters osx-x64 Download
dotnet-dump osx-x64 Download
dotnet-gcdump osx-x64 Download
dotnet-sos osx-x64 Download
dotnet-stack osx-x64 Download
dotnet-trace osx-x64 Download
dotnet-counters win-arm Download
dotnet-dump win-arm Download
dotnet-gcdump win-arm Download
dotnet-sos win-arm Download
dotnet-stack win-arm Download
dotnet-trace win-arm Download
dotnet-counters win-arm64 Download
dotnet-dump win-arm64 Download
dotnet-gcdump win-arm64 Download
dotnet-sos win-arm64 Download
dotnet-stack win-arm64 Download
dotnet-trace win-arm64 Download
dotnet-counters win-x64 Download
dotnet-dump win-x64 Download
dotnet-gcdump win-x64 Download
dotnet-sos win-x64 Download
dotnet-stack win-x64 Download
dotnet-trace win-x64 Download
dotnet-counters win-x86 Download
dotnet-dump win-x86 Download
dotnet-gcdump win-x86 Download
dotnet-sos win-x86 Download
dotnet-stack win-x86 Download
dotnet-trace win-x86 Download