Windbg Cheatsheet

A quick list of the most common windbg commands I use in Azure deployments.

Command Description
Ctrl+Break Break (int 3)
g Continue
.detach Detach process
lmf list loaded modules
.dump small memory image
.dump /ma dump full memory image
!threads managed threads
!clrstack managed call stack
!dumpheap dump managed heap
!dae dump all exceptions
!do object info dump
q quit

There’s a nice 2008 post from Tess Ferrandez with links to demos showing how to use windbg to debug .Net problems.