Is it possible to display a GUID in windbg?

I am trying to debug some COM components and want to track the CLSID and IID in CoCreateInstance calls.

I am not sure how to display the GUID in windbg. Any pointers to this.

+6
guid com windbg
source share
2 answers

Use the "display type" command:

dt GUID [address-of-guid] 

See the documentation for more information .

If it is a local variable (local to the frame of the stack you are in), use dv /V to delete all local variables.

+6
source share

I don't know anything about COM, but if it is a normal variable (even if it is global), then you can always:

alt + 2 to open the viewport and enter the name of the variable there, for example

blahblah.dll! Reference

You will need symbols for this, you may also need to be in source mode. This is slightly better than dv / dt, as you do not need to enter it constantly. I also think you can enter the address. Please note that if you do not put the blabbal! then it can sometimes cause windbg to stop for a few seconds when it searches for each module for something called guid.

0
source share

All Articles