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
11
BenchmarkDotNet
Powerful .NET library for benchmarking
12
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
18
BenchmarkDotNet
Powerful .NET library for benchmarking
19
BenchmarkDotNet
Powerful .NET library for benchmarking
20
BenchmarkDotNet
Powerful .NET library for benchmarking
23
BenchmarkDotNet
Powerful .NET library for benchmarking
25

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