We are heavy COM users but light WinDBG users at my place of work.
I have added some code that will automatically save a minidump of my
process under certain conditions, e.g. an access violation.
I have written some scripts that will generate an analysis of these
minidumps.
When I use the “dv” command on the stack where the access violation
happened, sometimes I get the output like this:
pDistribPart2 = class ATL::CComPtr { 00000000 }
pPartOccUtil = class
ATL::CComQIPtr
pDistribPort2 = class
ATL::CComQIPtr
pPortUnk = class ATL::CComPtr { 2a62ba20 }
My fellow developers would rather see the value of the pointer in
pPartOccUtil and pDistribPort2 variables rather than just the type of the
pointer.
How can I ask WinDBG to show those pointer values instead for CComQIPtr
variables?
Thanks in advance,
Osiris Pedroso