Debugging Class Libraries or DLL through web application project.

Posted by GoLive under Visual Studio on 10/24/2011 | Points: 10 | Views : 2856 | Status : [Member] | Replies : 1

I have a project which consists of class library project and one web application. I created a dll from the class library project and add it as a reference to web application. I am really having difficulty in debugging. When i run default.aspx page it display error as "Value cannot be null.
Parameter name: format".

I am quite sure this error comes from DLL file. So could anyone help me to understand how to debug class libraries or DLL files together with web application side by side.

Thank you


Posted by: Blessyjees on: 10/25/2011 [Member] Bronze | Points: 25


Start application in Debug mode also class library and add break point in the code that you call class library function. When execution reach at the break point use F11 to move execution to the class library and use F10 for one line by one execution.

Blessy Baby
Digitalmesh Softech pvt Ltd

GoLive, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response