+--------------------+ | WinDbg Cheat Sheet | +--------------+--------------------+-------------+ | Reading memory | +--------------------+----------------------------+ | Disassemble | u L | | Disas Function | uf | | Dump byte | db L | | Dump word | dw L | | Dump dword | dd L | | Dump string | ds L | | Dump mem with syms | dps | | Dump & dereference | dp[a|p|u] | | Dump structure | dt | | Search memory | s [a|b|w|d] pattern | +-------------------------------------------------+ | Writing memory | +--------------------+----------------------------+ | Copy memory | m | | Edit byte | eb 0x41 'b' ... | | Edit word | ew 0x1234 ... | | Edit dword | ed 0x12345678 .. | +-------------------------------------------------+ | Breakpoints | +--------------------+----------------------------+ | Add breakpoint | bp | | Break on access | ba [w|r|e|i] L | | Disable breakpoint | bd | | Enable breakpoint | be | | List breakpoints | bl | | Remove breakpoint | bc | +--------------------+----------------------------+ | Tracing | +--------------------+----------------------------+ | Continue execution | g or F5 | | Display call stack | k | | Display registers | r | | Step into | t or F11 | | Step out | Shift + F11 | | Step over | p or F10 | | Step to branch | tb | | Step to call | tc or pc | +--------------------+----------------------------+ | Advanced commands | +--------------------+----------------------------+ | Attach to process | F6 | | Conditional | j (condition) ''; '' | | Display PEB | !peb | | Display TEB | !teb | | Display type | dt [] | | Display stacks | ~*k | | Trace and watch | wt | +--------------------+----------------------------+