Questions tagged [clrmd]

CLRMD is a managed library for analysis of crash dumps or live processes regarding .NET internals.

Microsoft Diagnostics Runtime Component (or short CLRMD) is a wrapper around the CLR internal-only debugging APIs. Is a managed code library for programmatical analysis of crash dumps or live processes and allows automating tasks which could otherwise be achived by WinDbg plugins SOS or SOSEX.

More info and code examples can be found here

35 questions
0
votes
1 answer

View the contents and the value of variables in the memory

I am trying to create a debugging tool, that would attach to a process and then view the contents of stack and heap. Till now I am using CLRmd to attach to a process and then get the list of the type of variables inside stack and heap but still not…
Paradox
  • 327
  • 3
  • 19
0
votes
1 answer

Can I use ClrMD to traverse only the objects that are used by the process in the fore ground?

Currently I could get all the objects that are present in heap using the below code using ClrMD. Is it posible to get only the set of objects that are used in the target process(i.e only the objects that are WITHIN to the souce code of the target…
GANESH GANI
  • 101
  • 11
0
votes
1 answer

CLRMD Architecture MisMatch

I am working on CLRMD library and trying to load a dump. I am getting Mismatched architecture between this process and the dac. Console applicatin which is x86 application which creates a string array. static void Main(string[] args) { …
Harsha
  • 1,861
  • 7
  • 28
  • 56
0
votes
1 answer

ClrMD on another user's process

I have a .Net application that's reporting hangs in the Event Log. The events say "Application Hang" with no usable details to go by. So I whipped up a C# console app that uses the ClrMD library. But the caveat is this application is being published…
ploe
  • 51
  • 3
0
votes
1 answer

Get primitive value with ClrMD

I have the following class Test { private MyStruct myStruct; } struct MyStruct { private int structValue; } How can I get the value of structValue? I tried the following but with no success field.GetFieldValue(_address,…
Maya
  • 989
  • 4
  • 12
  • 19
1 2
3