Microsoft.Diagnostics.Runtime is a set of APIs for introspecting processes and dumps.
Clone or download
ZimM-LostPolygon and leculver Fixed incorrect IDebugRegisters.SetValue definition (#118)
* Fix IDebugRegisters2.SetValue

* Fix IDebugRegisters.SetValue
Latest commit 57e5cf0 Oct 17, 2018
Permalink
Failed to load latest commit information.
Documentation Fix docs and comments referencing old type name. GcHeapType to ClrTy… Oct 17, 2018
Src/Microsoft.Diagnostics.Runtime.Tests Fix for proper finalization queue detection in .net 4.0+ dumps (#106) Oct 17, 2018
artifacts/toolset Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
eng Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
pkg Add xml to nupkg Jun 26, 2017
src Fixed incorrect IDebugRegisters.SetValue definition (#118) Oct 17, 2018
.gitattributes Initial commit Sep 16, 2015
.gitignore Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
Build.cmd Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
BuildToolsVersion.txt Enable official builds, signing, packaging Jun 23, 2017
DotnetCLIVersion.txt Enable official builds, signing, packaging Jun 23, 2017
LICENSE Initial commit Sep 16, 2015
License.txt Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
Microsoft.Diagnostics.Runtime.sln Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
README.md Add pointers to individual documentation Sep 16, 2015
Restore.cmd Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
Test.cmd Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
build.cmd Enable official builds, signing, packaging Jun 23, 2017
build.sh Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
global.json Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
init-tools.cmd Enable official builds, signing, packaging Jun 23, 2017
init-tools.msbuild Enable official builds, signing, packaging Jun 23, 2017
netci.groovy Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
nuget.config Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
restore.sh Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018
sign.proj Enable official builds, signing, packaging Jun 23, 2017
test.sh Implement .Net Core build and x64 Linux support (#123) Oct 17, 2018

README.md

Microsoft.Diagnostics.Runtime

Microsoft.Diagnostics.Runtime.dll (nicknamed "CLR MD") is a process and crash dump introspection library. This allows you to write tools and debugger plugins which can do thing similar to SOS and PSSCOR.

For more details, take a look at the documentation and samples.

FAQ

Please see the FAQ for more information.

Tutorials

Here you will find a step by step walkthrough on how to use the CLR MD API. These tutorials are meant to be read and worked through in linear order to teach you the surface area of the API and what you can do with it.

  1. Getting Started - A brief introduction to the API and how to create a CLRRuntime instance.

  2. The CLRRuntime Object - Basic operations like enumerating AppDomains, Threads, the Finalizer Queue, etc.

  3. Walking the Heap - Walking objects on the GC heap, working with types in CLR MD.

  4. Types and Fields in CLRMD - More information about dealing with types and fields in CLRMD.

  5. Machine Code in CLRMD - Getting access to the native code produced by the JIT or NGEN