.NET DEBUGGING
OOPSOOADSOLIDDPDSSQLXMLFAQ
Module 11 - Inside .NET
Application Domain
Logical Process for Assemblies
For Instance System, Shared, Default etc.
How To
List Application DomainCDB@ !SOS.DumpDomain [Domain Address]
!SOS.DumpDomain : Extension Command, To Dump Application Domain

[Domain Address] : Optional Parameter, Application Domain Address
Alternatively, RUN@ windbg.exe → View → Command (Alt+1) → !SOS.DumpDomain [Domain Address]
Assembly
Deployment Unit for Modules
For Instance EXE, DLL etc.
How To
List AssemblyCDB@ !SOS.DumpAssembly <Assembly Address>
!SOS.DumpAssembly : Extension Command, To Dump Assembly

<Assembly Address> : Parameter, Assembly Address
Alternatively, RUN@ windbg.exe → View → Command (Alt+1) → !SOS.DumpAssembly <Assembly Address>
Module
Type Metadata for Method Tables
For Instance Type Def, Field Def, Method Def etc.
How To
List ModuleCDB@ !SOS.DumpModule -mt <Module Address>
!SOS.DumpModule : Extension Command, To Dump Module

-mt : Option, Specifies Method Table

<Module Address> : Parameter, Module Address
Alternatively, RUN@ windbg.exe → View → Command (Alt+1) → !SOS.DumpModule -mt <Module Address>
Method Table
Virtual Table for Classes and Method Descriptors
For Instance EE Class, Method Desc etc.
How To
List Method TableCDB@ !SOS.DumpMT -md <Method Table Address>
!SOS.DumpMT : Extension Command, To Dump Method Table

-md : Option, Specifies Method Descriptor

<Method Table Address> : Parameter, Method Table Address
Alternatively, RUN@ windbg.exe → View → Command (Alt+1) → !SOS.DumpMT -md <Method Table Address>
Execution Engine Class
Data Structure for Instance and Static Fields
For Instance Num Instance Fields, Num Static Fields etc.
How To
List EE ClassCDB@ !SOS.DumpClass <EE Class Address>
!SOS.DumpClass : Extension Command, To Dump Execution Engine Class

<EE Class Address> : Parameter, EE Class Address
Alternatively, RUN@ windbg.exe → View → Command (Alt+1) → !SOS.DumpClass <Method Descriptor Address>
Method Descriptor
Method Handle for Method Implementations
For Instance Is Jitted, Code Address etc.
How To
List Method DescriptorCDB@ !SOS.DumpMD <Method Descriptor Address>
!SOS.DumpMD : Extension Command, To Dump Method Descriptor

<Method Descriptor Address> : Parameter, Method Descriptor Address
Alternatively, RUN@ windbg.exe → View → Command (Alt+1) → !SOS.DumpMD <Method Descriptor Address>
DBG
Debugger

DEF
Definition

DLL
Dynamic Link Library

EXE
Executable

MD
Method Descriptor

MT
Method Table

NUM
Number

REF
Reference

SOS
Son Of Strike

WIN
Windows