简体   繁体   中英

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

I have a 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 .


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.

You can't debug into lines of code for a referenced .dll, since it's compiled code. 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. Please look at your project references list.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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