[英]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.