stdump 0.4.0

dotnet tool install --global stdump --version 0.4.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local stdump --version 0.4.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=stdump&version=0.4.0
nuke :add-package stdump --version 0.4.0

stdump

Explore stack trace of a running managed process or from a minidump file

Installation

You can install stdump using one of the following ways:

  • Manual: Obtain an archive from the latest release.
  • NuGet: Install-Package stdump
  • .NET Tool: dotnet tool install -g stdump

After installing, there will be two executables: stdump-x86.exe and stdump-x64.exe.

Elevated Access on Linux and macOS

sudo dotnet tool install stdump --tool-path /usr/local/share/dotnet-tools
sudo /usr/local/share/dotnet-tools/stdump

Usage

To display a stack trace of a running program, use its PID or process name.

stdump 12832
stdump w3wp.exe

Or point stdump to a minidump file.

stdump c:\debug\w3wp.dmp

Output

STDump v0.0.1 - Writes process managed stack traces
Copyright (C) 2016 Hangfire OÜ
Based on Microsoft.Diagnostics.Runtime (CLR MD). Copyright (C) Microsoft Corporation.

Writes managed stack trace of a running process, or from a minidump file to console.

Found CLR v4.6.1080.00

Following AppDomains found:

AppDomain #1
  Address:       5029808
  Name:          ConsoleApplication38.exe
  Configuration: c:\users\odinserj\documents\visual studio 2015\Projects\ConsoleApplication38\ConsoleApplication38\bin\Debug\ConsoleApplication38.exe.Config
  Directory:     c:\users\odinserj\documents\visual%20studio%202015\Projects\ConsoleApplication38\ConsoleApplication38\bin\Debug\

Following threads found:

Thread #1
  OS Thread ID:      10400
  AppDomain Address: 5029808
  Type:              Foreground

  Managed stack trace:
   - [InlinedCallFrame] at UNKNOWN
   - DomainNeutralILStubClass.IL_STUB_PInvoke(Microsoft.Win32.SafeHandles.SafeFileHandle, Byte*, Int32, Int32 ByRef, IntPtr) at mscorlib
   - [InlinedCallFrame] at UNKNOWN
   - System.IO.__ConsoleStream.ReadFileNative(Microsoft.Win32.SafeHandles.SafeFileHandle, Byte[], Int32, Int32, Boolean, Boolean, Int32 ByRef) at mscorlib
   - System.IO.__ConsoleStream.Read(Byte[], Int32, Int32) at mscorlib
   - System.IO.StreamReader.ReadBuffer() at mscorlib
   - System.IO.StreamReader.ReadLine() at mscorlib
   - System.IO.TextReader+SyncTextReader.ReadLine() at mscorlib
   - System.Console.ReadLine() at mscorlib
   - Microsoft.PFE.Samples.Program.Main() at ConsoleApplication38
   - [GCFrame] at UNKNOWN

Thread #2
  OS Thread ID:      2168
  AppDomain Address: 5029808
  Type:              Background
  Role:              Finalizer

  Managed stack trace:
   - [DebuggerU2MCatchHandlerFrame] at UNKNOWN
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
0.4.0 125 3/4/2024
0.3.0 167 2/29/2024
0.2.1 104 2/21/2024
0.2.0 144 2/8/2024
0.1.1 171 1/25/2024
0.1.0 168 1/24/2024
0.0.10 212 11/29/2023
0.0.9 726 11/12/2020
0.0.8 509 11/9/2020
0.0.7 506 11/9/2020
0.0.6 480 11/9/2020
0.0.5 495 11/3/2020
0.0.4 515 10/12/2020
0.0.3 544 5/15/2020
0.0.2 707 3/28/2019
0.0.1 1,220 8/3/2016

https://github.com/HangfireIO/stdump/releases

0.4.0
• Added – Built-in `net8.0` runtime support.

0.3.0
• Added – Make stdump compatible with the `net5.0` platform again.

0.2.1
• Added – Readme file and icon for the `stdump` NuGet package.
• Changed – Bump Microsoft.Diagnostics.Runtime dependency version to 3.1.506101.