Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidfowl/windbgcheatsheet
This is a cheat sheet for windbg
https://github.com/davidfowl/windbgcheatsheet
Last synced: 23 days ago
JSON representation
This is a cheat sheet for windbg
- Host: GitHub
- URL: https://github.com/davidfowl/windbgcheatsheet
- Owner: davidfowl
- Created: 2013-01-23T22:54:02.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2019-10-14T04:07:41.000Z (about 5 years ago)
- Last Synced: 2024-10-15T05:28:14.916Z (2 months ago)
- Size: 3.91 KB
- Stars: 108
- Watchers: 7
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
WinDbg Cheat Sheet
==================```
!loadby sos clr
```Loads the sos extension (lets you run commands on managed code)
```
kv
```Show the stack on the current thread's stack (mixed managed/unmanaged)
```
~*kv
```Show the stack of all threads (mixed managed/unmanaged)
```
!dumpheap -stat
```Dumps the heap
```
!dumpheap -type {typename}
```Dumps all objects that match the type name (partial matches)
```
!do {address}
```Dump object
```
!dumpvc
```Dump object for a value type
```
!gcroot {address}
```Show all objects that hold onto the object at address
```
!dso
```Dump stack objects
```
.preferdml 1
```Makes everything hyperlinks!
```
sxe clr
```Break on first chance CLR exceptions.
```
sxd -c "!pe" clr
```Print the details of every CLR exception as it occurs _without_ breaking into the debugger.
```
!EEStack -EE
```Dumps the managed stack of every managed thread in the process.
```
dv
```Dump native variables on the current frame.
```
!exchain
```Show all exception handlers on the stack.
```
.lastevent
```Shows what the hell happened on the thread.
```
!gle
```Get the last error on the current thread.
```
~*e {command}
```Runs command on each thread.
```
!runaway
```Shows the time the threads have been running
```
.shell ci {command}
```Open shell for command execution
```
!dlk
```Check for deadlocks
```
!locks
```Show process locks
```
~~[]s
```Switch threads