# microsoft/clrmd

Microsoft.Diagnostics.Runtime is a set of APIs for introspecting processes and dumps.

Repository: https://github.com/microsoft/clrmd
Canonical: https://ross.abutalabs.com/products/clrmd
Language: C#
License: MIT
License Family: permissive
Last push: 2026-08-31T05:04:14+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 35, longevity 100
- inputs: {"age_days": 4004, "days_push": 2, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1160, forks 268 (observed 2026-09-01T02:14:04.934840+00:00)

## What it is
ClrMD (Microsoft.Diagnostics.Runtime) is a .NET library for introspecting live processes and crash dumps of .NET applications. It provides APIs to inspect managed heaps, threads, stacks, and runtime state, enabling tools similar to SOS and PSSCOR.

## Use cases
- analyze .NET crash dumps programmatically
- inspect managed heap of a live process
- build custom debugger plugins for .NET
- walk threads and call stacks of a dump
- find memory leaks by examining the GC heap
- write diagnostics tools like SOS commands in C#

## When to choose
- you need programmatic access to .NET process or dump internals
- building custom diagnostic or debugging tooling for .NET
- automating crash dump analysis in C#

## When to avoid
- debugging non-.NET native processes
- you only need simple interactive debugging (use WinDbg/SOS instead)
- targeting runtimes other than .NET/CLR

## Facets
- artifact type: library
- maturity: active
- function: developer-tools
- domain: developer-tools
- platform: windows, cross-platform, dotnet
- tags: clrmd, crash-dump-analysis, process-introspection, sos, net-debugging, heap-inspection, debugging, linux

## Member repositories
- microsoft/clrmd (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-09-01T02:14:04.934840+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:31:49.238891+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/clrmd (fetched 2026-09-01T02:14:04.934840+00:00, sha b7fedc01f224)
- Data as of 2026-08-30T08:39:29.467469+00:00.
