When I want to debug native code as well as C++/CLI, I do following:
- In C# application, check
Allow unsafe codein Build tab andEnable unmanaged code debuggingin Debug tab of project properties. - For C++/CLI dll project, In Debugging tab of properties, set Debugger Type to
Mixed