How to debug applications using COM interfaces?
Posted
by Eric
on Stack Overflow
See other posts from Stack Overflow
or by Eric
Published on 2010-06-11T22:04:19Z
Indexed on
2010/06/11
23:52 UTC
Read the original article
Hit count: 602
I' building an application using C# which will use CATIA COM modules. When I import the COM inside my c# project, I think that Visual C# express generates the Interop automagically for me.
All of this works correctly. However, when I try to debug the application and use watches during runtime, every object is a System.__ComObject
and I cannot get their "real" value.
Is there a way to tell the debugger the types of my COM objects?
The goal is to get more familiar with this new API I don't know really well. Sometimes its rather hard to guess the correct types for everything since the interface hierarchy is quite deep
© Stack Overflow or respective owner