The title says it all really. I'm on VS2013 and am beginning to think this is a bug. In particular, even the following code (which is illustrative in its functionality) gives me the class name from the base class (gsl::window) instead of derivedwnd:
<Type Name="gsl::window">
<Expand>
<Item Name="[class]">((derivedwnd*)this)->_className,na</Item>
</Expand>
</Type>
Both classes contain a static _className member that is returned via an overloaded GetClass() procedure. Since Natvis can't invoke functions, I need to access the data member directly. However I can't find any information on this particular situation.
Can anyone confirm this a bug/feature of Natvis or know of a workaround?