~/talk

Building your own debugging toolbox with ClrMD

Talkat DotNext 2018 Moscow · 2018-11-22..11-23· [dotnet, devops-and-delivery]
links:none on file
slides:none on file

Demo shows using ClrMD to load a 20GB memory dump, attach to live processes, and programmatically inspect heaps instead of typing SOS commands. Code enumerates heap object addresses to produce a grouped list of duplicate strings, and walks the TimerQueue linked list to count scheduled timers and read intervals. Toolchain uses Microsoft.Diagnostics.Runtime, a small WPF analyzer and a native WinDbg extension built via DllExport to expose managed helpers; the extensions run and return readable results in the demo.

AI-written summary · about

  1. 0:00Introduction
  2. 0:44When to use ClrMD
  3. 3:20What is ClrMD
  4. 8:47ClrMD source code
  5. 10:45ClrMD implementation
  6. 18:43Writing the code
  7. 26:57The heap
  8. 33:28Magic marshalling
  9. 37:07Static field
  10. 48:25Windbg extension
  11. 52:32Magic
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.