如何进入C/C++ 调试时来自 C# 应用程序的 DLL
我的解决方案中有两个项目:C/C++ Win32 DLL 和一些 C# 应用程序。
我必须做什么才能在调试时进入 DLL?
我打开了 C++ 项目设置中的所有调试选项,并将下一个文件复制到 C# 应用程序根目录:MyLib.dll、MyLib.pdb、vc90.pdb、vc90.idb,但没有帮助。
我还需要采取哪些额外行动?
I have two project in my solution: C/C++ Win32 DLL and some C# application.
What I have to do to be able to step into DLL while debugging?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您是否在 C# 项目中启用了“启用非托管代码调试”?
Have you turned on Enable Unmanaged Code Debugging in your C# project?
如果您通过调试>附加调试器 附加到进程,在“附加到进程”对话框中单击“附加”之前,请确保选择可以附加调试器的适当代码类型。
If you are attaching a debugger through Debug > Attach To Process, before clicking "Attach" in the "Attach to Process" dialog, make sure to select the appropriate code type to which the debugger can be attached.