dotnet-pstacks
3.0.0
dotnet tool install --global dotnet-pstacks --version 3.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local dotnet-pstacks --version 3.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-pstacks&version=3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-pstacks --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
dotnet-pstacks
A .NET global CLI tool and MCP server to display merged call stacks (parallel stacks) from a .NET application (live process or memory dump).
Installation
dotnet tool install --global dotnet-pstacks
CLI Usage
dotnet-pstacks [-p <pid> | <dumpfile>] [-t <threadIdLimit>]
Options
| Option | Description | Default |
|---|---|---|
-p <pid> |
Process ID to attach to | |
<dumpfile> |
Path to a memory dump file | |
-t <threadIdLimit> |
Max thread IDs to display per stack group (-1 for all) | 4 |
--mcp |
Start as stdio MCP server |
Provide either -p <pid> or a dump file path, but not both.
Example
dotnet-pstacks myapp.dmp -t 8
MCP Server Usage
dotnet-pstacks --mcp
When started with --mcp, the tool runs as a stdio-based MCP server exposing a GetParallelStacks tool with the same parameters as the CLI.
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
Migrated to ClrMD 3.0, added MCP server support, targets .NET 6+