如何步入C来自C#应用程序/ C ++ DLL在调试应用程序、DLL

2023-09-02 20:47:24 作者:忘尘

我在我的解决方案二期工程:C / C ++的Win32 DLL和一些C#应用程序

I have two project in my solution: C/C++ Win32 DLL and some C# application.

我需要做的是能够进入DLL同时调试?

What I have to do to be able to step into DLL while debugging?

我接通,C ++项目的设置,所有调试选项和复制到C#应用程序根目录下一个文件:MyLib.dll,MyLib.pdb,vc90.pdb,vc90.idb,但它并没有帮助

I switched on all debugging options in C++ project's settings and copied to C# application root next files: MyLib.dll, MyLib.pdb, vc90.pdb, vc90.idb, but it doesn't helped.

什么额外的动作是我所开展?

What additional actions have I to carry out?

推荐答案

你有没有打开启用C#项目未受管理的code调试?

Have you turned on Enable Unmanaged Code Debugging in your C# project?