是否可以单步执行通过 tlbimp.exe 从 C++ 程序创建的 .net 互操作层使用的 COM C++ 代码。我看到 COM C++ dll 的符号已加载到“调试”->“模块”窗口中。
最佳答案
这是可能的,但您需要在项目属性中将 Visual Studio 调试器设置为混合模式。它位于 Project properties->Configuration Properties->Debugging->Debugger Type
关于c++ - 通过 .net 互操作类调试 COM C++ 代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10897478/