Thursday, March 28, 2013

WinDBG: dt vs ??


The dt command stands for display type.

dt var

dt address


The ?? command is for evaluating a C++ expression.  You can use it like dt, but you can use it to do even more.  I personally like to just use it most of the time because C are more accessible to me often than trying to remember which switches I need to use with dt.

?? sizeof(var)

?? this

?? this->m_member_obj

?? array[25].member_ptr->val

?? g_some_global

No comments:

Post a Comment