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
7
BenchmarkDotNet
Powerful .NET library for benchmarking
9
BenchmarkDotNet
Powerful .NET library for benchmarking
11
BenchmarkDotNet
Powerful .NET library for benchmarking
12
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
17
BenchmarkDotNet
Powerful .NET library for benchmarking
18
BenchmarkDotNet
Powerful .NET library for benchmarking
21

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