简体   繁体   English

如何更正参考 a.dll 以显示在 vs2008 调试模块中?

[英]Howto correct reference a .dll to show up in the modules for debugging in vs2008?

I have a c# project that calls some functions from a c dll, the dll functions are called correctly.我有一个 c# 项目,它从 c dll 调用一些函数,dll 函数被正确调用。 The c dll project is added in the solution where also the c# project is located. c dll项目添加到c#项目所在的解决方案中。

When i try to debug into the dll, the breakpoints won´t be reached because "..no symbols loaded" I have all the pdb files in the same directory as the dll.当我尝试调试 dll 时,无法到达断点,因为“..未加载任何符号”我将所有 pdb 文件都放在与 dll 相同的目录中。

When i start the debugger, and goto the modules tab, the referenced dll dont show up.当我启动调试器并转到模块选项卡时,引用的 dll 不会出现。 Other dlls like mscorlib.dll are there, but not the dll i want to debug.其他 dll,如 mscorlib.dll 在那里,但不是我要调试的 dll。

Debugger settings are on mixed mode, and i unchecked the only debug own code option.调试器设置为混合模式,我取消选中唯一的调试自己的代码选项。

best regards gobliins最好的问候地精

Ah i just found the last option i did not acivate, there´s another checkbox underr project tabs "debug non managed code"啊,我刚刚找到了我没有激活的最后一个选项,在项目选项卡“调试非托管代码”下还有另一个复选框

now all dlls show up现在所有的 dll 都出现了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM