I am trying to implement basic debugging functionality. Mdbg is a great starting point. Though what I found out is that it does not analyse the properties of the object being inspected but fields only (e.g. TryExpandNode). It is understandable: properties are not fields-like members but just decorated methods under the hood.
Though it seems only logical to inspect both fields and properties. After all it is what Visual Studio does. I have managed to update the Mdbg Sample IMetadataImport implementation and successfully call m_importer.GetPropertyProps(...
Though I can only make use the returned property name and don't see how to invoke the getter (returned by GetPropertyProps) to evaluate the property value. All my attempts just failed.
Any suggestion will be appreciated.Regards,
Oleg