Search code examples
c#debuggingdllc++-clifirebreath

Step into c++/CLI wrapper dll and c# dll during debug while making plugins on firebreath


Building a firebreathplugin where there's a native dll, c# class library dll and a c++/CLI (class library) wrapper dll. No application here. Saw other posts on stack overflow. Did the Debugging Mixed mode .but in vain? UPDATE

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"

COMPILER for c++/cli wrapper dll is /clr and for the native c++ is set "no /clr support" USING LOCAL WINDOWS DEBUGGER for this To debug the plugin i just followed the step described in firebreath homepage(i.e.click Debug menu and then Attach to process..i selected the iexplore.exe) Hope I would get an answer soon?


Solution

  • None of those settings matter unless one of those projects is the Start-up project (i.e. the one in bold in the solution explorer). The settings of the start-up project is what matters.

    Or, if you'd rather not change the start-up project, then you can do an "Attach to Process" and specify what types (Managed, Native, etc).