I am working in a VS.net 2010 addin that is designed in this way.
when I try to debug the adding I can get until the C# code calls the c++ dll function.
I have checked the "Enable unmanaged code debugging" checkbox from the C# properties project.
I have copied the c++ pdb's to their respective dll's folders.
After few weeks I have finally found the solution, I am posting it in case any other developer needs something similar.
Solution: You cannot attach your projects (at least the way is asked above) to a devenv.exe process, otherwise it will just attach to the C# dll. So, the simple step is set devenv.exe as your dll solution start project.
Thats it!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.