niceguy971
asked on
VS2005-Debug options
My VS2005 solution contains localhost website (File--> New---> Web Site) which uses MyDll.dll (written in C#)
I would like to debug my Web-site (which calls the method from MyDLL)and debug the code in MyDll.dll when execution goes thru
MyDll. I know that I can add project containing MyDll files (C# class) to the solution - it will allow me to debug As described above.
MY questions is: Is it possibe to debug (to step thru lines of code in my Web-site and MyDll when execution goes thru MyDll) Without Adding project containing MyDll files (C# class) to the solution??
I would like to debug my Web-site (which calls the method from MyDLL)and debug the code in MyDll.dll when execution goes thru
MyDll. I know that I can add project containing MyDll files (C# class) to the solution - it will allow me to debug As described above.
MY questions is: Is it possibe to debug (to step thru lines of code in my Web-site and MyDll when execution goes thru MyDll) Without Adding project containing MyDll files (C# class) to the solution??
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So If I added before the DLL reference from the Browse tab..Does It Mean I need to delete
the DLL reference and Add Project reference from the Project tab??
the DLL reference and Add Project reference from the Project tab??
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks
Add your dll project to you ASP.NET application with File...Add...Existing project.
In the ASP project, go to the Reference window, but instead of adding the reference from the .NET or Browse tab, add it from the Project tab. You will thus reference the source code. If debugging is enabled for the dll project (as explained by Mez4343), you will be able to set breakpoint and move step by step into as if the ASP and dll projects where only one.