在调试期间进入c ++ / CLI包装器dll和c#dll,同时在firebreath上制作插件

时间:2013-05-23 09:54:27

标签: c# debugging dll c++-cli firebreath

构建一个firebreathplugin,其中有一个本地dll,c#类库dll和一个c ++ / CLI(类库)包装器dll。这里没有申请。看到堆栈溢出的其他帖子。调试混合模式。但是徒劳无功? 的更新

1.  in c# dll properties I have "Enable unmanaged code debugging" unchecked 
2. in c++/CLI wrapper dll properties, I have set Debug mode as mixed and set Attach to Yes
3. in native c++ plugin dll (firebreath generated) I set Properties->Debugging>Debug Mode->Mixed and Attach as "Yes"

c ++ / cli包装器DLL的编译器是/ clr,而本机c ++设置为“no / clr support” 为此使用本地WINDOWS DEBUGGER 要调试插件,我只需按照firebreath主页中描述的步骤进行操作(即单击Debug菜单,然后选择Attach to process..i选择iexplore.exe) 希望我能尽快得到答案?

1 个答案:

答案 0 :(得分:0)

这些设置都不重要,除非其中一个项目是启动项目(即解决方案资源管理器中的粗体项目)。启动项目的设置非常重要。

或者,如果您不想更改启动项目,那么您可以执行“附加到流程”并指定哪些类型(托管,本机等)。