VS 2012 Debugger, modules loaded twice, breakpoint couldn't be hit

♀尐吖头ヾ 提交于 2019-12-22 17:44:22

问题


I have a Visual Studio 2012 solution which contains two projects, 1st is C++/CLI wrapper and the 2nd is C#, where I use the wrapped dll. Both projects are in 32 bit debug mode. In C# project Enable native code debugging option is enabled. In C++/CLI debugging mode is set to mixed.

The problem is that in both projects the breakpoints can't be hit. I followed advices from here and here but without luck.

The most interesting thing, that bot projects are loaded twice, the locations are the same and symbols files are loaded from the same directory, there exe and dll are placed. It's also interesting why Tester is loaded with and without symbols.

Can someone help me fix it please?

来源:https://stackoverflow.com/questions/15002188/vs-2012-debugger-modules-loaded-twice-breakpoint-couldnt-be-hit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!