Microsoft.Diagnostics.Runtime 0.8.31-beta

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.

Showing the top 20 packages that depend on Microsoft.Diagnostics.Runtime.

Packages Downloads
BenchmarkDotNet
Powerful .NET library for benchmarking
9
BenchmarkDotNet
Powerful .NET library for benchmarking
11
BenchmarkDotNet
Powerful .NET library for benchmarking
13
BenchmarkDotNet
Powerful .NET library for benchmarking
14
BenchmarkDotNet
Powerful .NET library for benchmarking
15
BenchmarkDotNet
Powerful .NET library for benchmarking
16
BenchmarkDotNet
Powerful .NET library for benchmarking
17
BenchmarkDotNet
Powerful .NET library for benchmarking
20
BenchmarkDotNet
Powerful .NET library for benchmarking
24

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).

This package has no dependencies.

Version Downloads Last updated
4.0.726401 4 17.05.2026
4.0.726301 3 17.05.2026
4.0.725402 3 12.05.2026
4.0.725202 5 04.05.2026
4.0.723004 4 04.05.2026
4.0.722401 7 27.04.2026
4.0.0-beta.26203.1 4 09.04.2026
4.0.0-beta.26202.1 4 09.04.2026
4.0.0-beta.24360.3 12 19.02.2025
4.0.0-beta.24360.2 12 06.02.2025
4.0.0-beta.24320.3 12 22.02.2025
4.0.0-beta.24314.3 12 22.02.2025
3.1.512801 12 19.02.2025
3.1.506101 12 18.02.2025
3.1.456101 14 08.02.2025
3.1.456003 14 09.02.2025
3.1.455904 12 18.02.2025
3.0.442202 14 08.02.2025
3.0.0-beta.23214.4 12 08.02.2025
3.0.0-beta.23177.1 12 17.02.2025
3.0.0-beta.23165.1 12 06.02.2025
3.0.0-beta.23159.4 12 05.02.2025
3.0.0-beta.23158.2 12 17.02.2025
3.0.0-beta.23156.1 13 08.02.2025
2.4.416101 12 06.02.2025
2.3.405304 12 05.02.2025
2.2.343001 12 18.02.2025
2.2.332302 14 04.09.2024
2.2.332001 14 08.02.2025
2.1.327703 12 07.02.2025
2.0.226801 12 08.02.2025
2.0.226401 12 07.02.2025
2.0.222201 12 07.02.2025
2.0.221201 14 18.02.2025
2.0.217201 12 18.02.2025
2.0.161401 12 08.02.2025
2.0.156101 12 08.02.2025
2.0.151903 12 19.02.2025
2.0.145301 12 08.02.2025
2.0.142701 15 28.02.2025
2.0.142501 14 08.02.2025
2.0.142103 12 19.02.2025
2.0.141902 12 06.02.2025
2.0.137201 14 02.10.2024
2.0.130507 12 21.02.2025
2.0.0-rc.20303.6 10 05.02.2025
2.0.0-rc.20278.6 12 06.02.2025
2.0.0-beta.20276.4 14 18.02.2025
2.0.0-beta.20273.1 12 08.02.2025
2.0.0-beta.20272.2 12 18.02.2025
2.0.0-beta.20272.1 12 09.02.2025
2.0.0-beta.20268.2 12 08.02.2025
2.0.0-beta.20230.2 12 18.02.2025
2.0.0-beta.20230.1 12 08.02.2025
2.0.0-beta.20229.3 14 19.02.2025
2.0.0-beta.20223.2 12 18.02.2025
2.0.0-beta.20222.8 13 08.02.2025
2.0.0-beta.20222.7 13 08.02.2025
2.0.0-beta.20222.5 12 18.02.2025
2.0.0-beta.20220.3 12 08.02.2025
2.0.0-beta.20213.1 12 08.02.2025
2.0.0-beta.20174.2 12 07.02.2025
2.0.0-beta.20072.5 12 08.02.2025
2.0.0-beta.19618.7 12 08.02.2025
2.0.0-beta.19612.8 12 19.02.2025
1.1.142101 15 19.02.2025
1.1.132302 12 06.03.2025
1.1.127808 12 06.03.2025
1.1.126102 12 07.02.2025
1.1.122004 12 06.02.2025
1.1.116301 12 08.02.2025
1.1.61812 12 17.02.2025
1.1.57604 12 19.02.2025
1.1.57004 12 08.02.2025
1.1.46104 12 22.02.2025
1.1.37504 15 06.03.2025
1.1.35902 12 19.02.2025
1.1.35504 12 08.02.2025
1.0.5 15 08.02.2025
1.0.3 16 08.02.2025
1.0.2 16 08.02.2025
1.0.0 16 08.02.2025
0.9.180305.1 13 06.02.2025
0.9.170809.3 14 18.02.2025
0.9.170626.1 12 06.03.2025
0.8.31-beta 16 06.03.2025
0.8.30-beta 16 20.02.2025
0.8.27-beta 14 19.02.2025
0.8.26-beta 13 09.02.2025
0.8.25-beta 13 18.02.2025
0.8.24-aamain00309 12 07.02.2025
0.7.1-beta 16 08.02.2025