Exceptions
- Natively available in WinDbg
- Display exception types which will break on first or second chance
- Natively available in WinDbg
- Break when a first chance .NET exception is thrown
- Natively available in WinDbg
- Restore default parameters on exceptions break
0:000> sxe -c "!pe;g" clr
- Natively available in WinDbg
- Execute a command for each thrown .NET exception
- Available in SOS
- Display current breaking .NET exception details
- Available in SOS
- Display current breaking .NET exception details
- “!analyse –vv” to get more details
Misc
- Available in SOS
- List AppDomains in the process and loaded assemblies in each AppDomain
- Natively available in WinDbg
- Display bytes at specified address
- Natively available in WinDbg
- Display dword at specified address
- Available in SOSEX
- Display managed and non-managed stacks
0:000> .cmdtree <path_to_textfile>
- Natively available in WinDbg
- Display shortcuts to WinDBG commands stored in a text file. For more information, read this article.
- Every commands not asking for specific context parameters are available in the following file.
Threads
- Natively available in WinDbg
- Display threads list
- Natively available in WinDbg
- Switch to thread 0 (current thread)
- Natively available in WinDbg
- Run command on every threads
Breakpoints
0:000> bp module!function
- Disponible nativement dans WinDbg
- Set a breakpoint in the function of the specified module
- Natively available in WinDbg
- List breakpoints
- Natively available in WinDbg
- Delete the breakpoint with the specified ID (ID available in
bl
)
Extensions
- Natively available in WinDbg
- Unload the last loaded extension
- Natively available in WinDbg
- Display loaded extensions
Symbols
- Natively available in WinDbg
- List the nearest symbols of the specified address
Modules
- Natively available in WinDbg
- Break when the specified module is loaded
Deadlocks
- Available in SOSEX
- Search for deadlocks
Garbage Collector
0:000> bp clr!WKS::GCHeap::RestartEE ".if (dwo(clr!GCHeap::GcCondemnedGeneration)==2) {kb} .else {g}"
- Natively available in WinDbg
- Break right after a garbable collect of generation 2 and run
kb
- Available in SOS
- Break right before a garbage collect of the specified generation