stdump 0.4.3
See the version list below for details.
dotnet tool install --global stdump --version 0.4.3
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local stdump --version 0.4.3
#tool dotnet:?package=stdump&version=0.4.3
nuke :add-package stdump --version 0.4.3
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
Elevated access is unnecessary when the target application operates under the same user account. But for other cases, it might be useful to run the utility under a privileged account.
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 | Versions 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
0.4.5 | 106 | 9/20/2024 |
0.4.4 | 139 | 8/20/2024 |
0.4.3 | 119 | 8/19/2024 |
0.4.2 | 117 | 8/19/2024 |
0.4.1 | 126 | 8/14/2024 |
0.4.0 | 243 | 3/4/2024 |
0.3.0 | 218 | 2/29/2024 |
0.2.1 | 155 | 2/21/2024 |
0.2.0 | 195 | 2/8/2024 |
0.1.1 | 241 | 1/25/2024 |
0.1.0 | 221 | 1/24/2024 |
0.0.10 | 262 | 11/29/2023 |
0.0.9 | 762 | 11/12/2020 |
0.0.8 | 541 | 11/9/2020 |
0.0.7 | 568 | 11/9/2020 |
0.0.6 | 513 | 11/9/2020 |
0.0.5 | 536 | 11/3/2020 |
0.0.4 | 552 | 10/12/2020 |
0.0.3 | 578 | 5/15/2020 |
0.0.2 | 747 | 3/28/2019 |
0.0.1 | 1,256 | 8/3/2016 |
https://github.com/HangfireIO/stdump/releases
0.4.3
• Changed – Merge 'System.Runtime.InteropServices.RuntimeInformation' assembly into executable files.
0.4.2
• Changed – Downgrade .NET Framework requirement to 4.6.1 for `stdump.exe` and `stdump-x86.exe`.
• Fixed – Could not find file or assembly 'System.Runtime.InteropServices.RuntimeInformation' error.
0.4.1
• Changed – Downgrade `Microsoft.Diagnostics.Runtime` for `net471` platform to version 2.0.226801.
• Fixed – `TypeLoadException` when examining stacks with `stdump.exe` or `stdump-x86.exe` files.
• Project – Use `Install-PSResource` and modern PowerShell 7 for faster CI builds.
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.