Search code examples
c++.netdebuggingcomtlbimp

Debugging into COM C++ code through an .net interop class


Is it possible to step into the COM C++ code that is being used through a .net interop layer created by tlbimp.exe from a C++ program. I see that the symbols for the COM C++ dll is loaded in the Debug->Modules window.


Solution

  • It is possible, but you'll need to set your Visual Studio debugger to mixed mode in project properties. This is located under Project properties->Configuration Properties->Debugging->Debugger Type