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
14
BenchmarkDotNet
Powerful .NET library for benchmarking
16
BenchmarkDotNet
Powerful .NET library for benchmarking
17
BenchmarkDotNet
Powerful .NET library for benchmarking
18
BenchmarkDotNet
Powerful .NET library for benchmarking
19
BenchmarkDotNet
Powerful .NET library for benchmarking
20
BenchmarkDotNet
Powerful .NET library for benchmarking
21
BenchmarkDotNet
Powerful .NET library for benchmarking
26

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