Reputation: 1764
Suppose I have an address of some object placed in unmanaged heap. How can I get the C++ type of the object in WinDbg?
Upvotes: 1
Views: 2989
Reputation: 3017
This isn't foolproof, but it often works.
!heap -x ADDR
. This will provide the user pointer.dps USERPOINTER
. For a C++ object, this will usually give you a vtable symbol name.Upvotes: 4