Microsoft.Diagnostics.Runtime 0.9.180305.1

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package Microsoft.Diagnostics.Runtime --version 0.9.180305.1                
NuGet\Install-Package Microsoft.Diagnostics.Runtime -Version 0.9.180305.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Diagnostics.Runtime" Version="0.9.180305.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Diagnostics.Runtime --version 0.9.180305.1                
#r "nuget: Microsoft.Diagnostics.Runtime, 0.9.180305.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Diagnostics.Runtime as a Cake Addin
#addin nuget:?package=Microsoft.Diagnostics.Runtime&version=0.9.180305.1

// Install Microsoft.Diagnostics.Runtime as a Cake Tool
#tool nuget:?package=Microsoft.Diagnostics.Runtime&version=0.9.180305.1                

ClrMD is a set of advanced APIs for programmatically inspecting a crash dump of a .NET program much in the same way that the SOS Debugging Extensions (SOS) do. This allows you to write automated crash analysis for your applications as well as automate many common debugger tasks. In addition to reading crash dumps ClrMD also allows supports attaching to live processes.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Microsoft.Diagnostics.Runtime:

Package Downloads
BenchmarkDotNet

Powerful .NET library for benchmarking

GitHub repositories (37)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Diagnostics.Runtime:

Repository Stars
dnSpy/dnSpy
.NET debugger and assembly editor
winsw/winsw
A wrapper executable that can run any executable as a Windows service, in a permissive license.
dotnet/BenchmarkDotNet
Powerful .NET library for benchmarking
xoofx/markdig
A fast, powerful, CommonMark compliant, extensible Markdown processor for .NET
microsoft/perfview
PerfView is a CPU and memory performance-analysis tool
Version Downloads Last updated
2.0.161401 0 3/8/2021
2.0.156101 0 3/8/2021
2.0.151903 0 3/8/2021
2.0.145301 0 3/8/2021
2.0.142701 0 3/8/2021
2.0.142501 0 3/8/2021
2.0.142103 0 3/8/2021
2.0.141902 0 3/8/2021
2.0.137201 0 3/8/2021
2.0.130507 0 3/8/2021
2.0.0-rc.20303.6 0 3/8/2021
2.0.0-rc.20278.6 0 3/8/2021
2.0.0-beta.20276.4 0 3/8/2021
2.0.0-beta.20273.1 0 3/8/2021
2.0.0-beta.20272.2 0 3/8/2021
2.0.0-beta.20272.1 0 3/8/2021
2.0.0-beta.20268.2 0 3/8/2021
2.0.0-beta.20230.2 0 3/8/2021
2.0.0-beta.20230.1 0 3/8/2021
2.0.0-beta.20229.3 0 3/8/2021
2.0.0-beta.20223.2 0 3/8/2021
2.0.0-beta.20222.8 0 3/8/2021
2.0.0-beta.20222.7 0 3/8/2021
2.0.0-beta.20222.5 0 3/8/2021
2.0.0-beta.20220.3 0 3/8/2021
2.0.0-beta.20213.1 0 3/8/2021
2.0.0-beta.20174.2 0 3/8/2021
2.0.0-beta.20072.5 0 3/8/2021
2.0.0-beta.19618.7 0 3/8/2021
2.0.0-beta.19612.8 0 3/8/2021
1.1.142101 0 3/8/2021
1.1.132302 0 3/8/2021
1.1.127808 0 3/8/2021
1.1.126102 131 3/8/2021
1.1.122004 0 3/8/2021
1.1.116301 0 3/8/2021
1.1.61812 0 3/8/2021
1.1.61810 0 3/8/2021
1.1.57604 32,423 3/8/2021
1.1.57004 0 3/8/2021
1.1.46104 0 3/8/2021
1.1.37504 0 3/8/2021
1.1.35902 0 3/8/2021
1.1.35504 0 3/8/2021
1.0.5 0 3/8/2021
1.0.3 0 3/8/2021
1.0.2 0 3/8/2021
1.0.1-dev 0 3/8/2021
1.0.0 0 3/8/2021
0.9.180305.1 0 3/8/2021
0.9.170809.3 3 3/8/2021
0.9.170626.1 0 3/8/2021

Since the last release, I have made two major changes to the API.

First, I have reworked the SymbolLocator class.  I had to rush out the last version so that we could ship sources, and that class was in an incomplete state.  It has been subsequently reworked into a new design.

Second, as part of the effort to (finally) release 1.0 of the library and get it out of beta (which hasn't happened yet), I have marked some commonly used APIs with the [Obsolete] attribute.  Virtually no functionality has been removed, only that APIs have been renamed or moved within the runtime.  The one exception is that ClrMD is moving away from doing symbol resolution (File and Line number).  This means GetSourceLocationForOffset and related functions no longer work.  Instead, I have implemented a sample you can find here:  https://github.com/Microsoft/clrmd/blob/master/src/FileAndLineNumbers/Program.cs

Note that all methods marked [Obsolete] will be removed in the next NuGet release (but I do not plan to do another release for a little while).  I appologize in advance for any incovenience this causes.  After years of active development, some API dead-ends have inevitably crept into the library, and need to be removed before 1.0 is released.

Aside from various bugfixes, here are some noteworthy changes in this release:

1.  I've added Async APIs for symbol resolution/download, and the SymbolLocator class is now thread safe.  You can now download symbols asynchronosly and in parallel.
2.  Added basic support for converting CLR internal structures (MethodDescs, MethodTables, EEClass, etc) to and from ClrMD types and methods.
3.  Add a way to get information about the Shared and System domains.
4.  Completely remove the dependency on msdia120.dll and DiaLib.dll.  Added a managed PDB reader to do this work instead.  ClrMD currently has no dependencies on any other library (that doesn't come with windows anyway).