简体   繁体   English

同一解决方案中的现有项目,但无法调试

[英]existing project in the same solution but can't debug it

I have a dll . 我有一个dll i add this dll as existing project to my web application ,so i can trace the code in it , i put a break point but it never hit this break point at all . 我将此dll作为现有项目添加到我的Web应用程序中,因此我可以在其中跟踪代码,我设置了一个断点,但它根本没有达到这个断点。


affectedrows = DBUtilities.UpdateEntityWithTrans("aaa", ParamDictionary, KeyDictionary, DAL_Helper);

this line of code throw null reference exception and when i click f11 to enter this class which exist in the dll i added before to the solution , It doesn't enter this class to trace the exception. 此行代码将引发空引用异常,并且当我单击f11进入存在于我之前添加到解决方案的dll此类时,它不会进入此类来跟踪异常。

You can't debug into lines of code for a referenced .dll, since it's compiled code. 您无法调试所引用.dll的代码行,因为它是已编译的代码。 You'll need to add an actual source code project if you want to debug into it. 如果要调试它,则需要添加一个实际的源代码项目。

Sometimes happens. 有时会发生。 You add a reference to a project and you have still the reference at the compiled DLL. 您添加了对项目的引用,但在编译的DLL上仍然有该引用。 Please look at your project references list. 请查看您的项目参考列表。

暂无
暂无

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

相关问题 无法将Azure CloudService项目添加到现有解决方案 - Can't add Azure CloudService Project to existing solution C# UWP - 无法在同一解决方案中添加对项目的引用 - C# UWP - Can't add reference to project in same solution 在具有相同命名空间的多个项目的解决方案中找不到命名空间 - Can't find Namespace in Solution with multiple Project with same Namespace 相同的Web服务项目,不同的配置,无法调试 - Same web service project, different configuration, can't debug 如何调试从同一解决方案的项目中引用的DLL? - how can i Debug A DLL that is referenced from a project from the same solution? 无法在其他 PC 上运行 windows 窗体应用程序,无法从相同解决方案的项目中找到 dll - Can't run a windows form app on other PC, can't find a dll from a project of the same solution 一个项目不能引用相同解决方案的另一个项目-方法或操作未实现 - A project can't reference another project of the same solution - the method or operation not implemented 如何运行相同解决方案中的项目? - How can I run a project that is in the same solution? T4模板在解决方案中添加现有项目的组件 - T4 template adding assembly of existing project in solution 为什么我不能在同一解决方案中的另一个项目中引用另一个命名空间中的类? - Why can't I reference a class in another namespace in another project within the same solution?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM