Extend the new WinDbg to build your own dream debugging tool
summary
New WinDbg is a .NET/WPF app that exposes undocumented extension points so users can add ribbon buttons, tool windows and listeners via MEF composition. Extension DLLs go in the per‑profile DbgX UI\Extensions folder; interfaces live in gbgx.interfaces and dbgx.interfaces. Code demos include a one‑click SOS loader, a command‑history panel that captures GML output and opens per‑command windows, and a C# REPL that compiles and runs inside the debug engine by calling IDbgConsole and a native host to run ClrMD scripting. The extensions work — a quick script found 35 FileStream instances and filtered leaking ones in minutes.
AI-written summary · about
chapters (6)
- 0:00Introduction to WinDbg
- 11:03Extending WinDbg with extensions
- 23:50Adding a SOS button to ribbon
- 36:59Building a command history panel
- 49:13Scripting C# directly in WinDbg
- 50:42Q&A and future possibilities
related talks
01h 02mTime Travel Debugging
53mDeep .NET Debugging
59m“GDB - A Lot More Than You Knew"
01h 01mBeyond step-by step debugging in Visual Studio
15mGive me 15 minutes & I'll change your view of GDB
45mAdvanced Debugging with XCode – Extending LLDB
17mFast Focus: Visual Studio Debugging & Diagnostics: Tips & Tricks
53mDebugging .NET Apps
