My project has 4 layers i need to debug from UI to DAL ,,but when i am debugging,its going only in UI,,can any one tell how can idebug up to Dal
A:
Does your Solution contain all 4 projects?
Is your ASP.NET application referencing your DLLs as Binaries or as Projects? (check by right-clicking on the web project and selecting Properties | References) Needs to be "Project".
Are all four assemblies/projects set to "Debug" output?
Program.X
2009-03-23 13:53:38
i didnt get you,,can you clear the things i am new one to Asp.netlayers are in different solutions
peter
2009-03-23 14:01:07
When i opened properties Build section the out path is like this waybin\
peter
2009-03-23 14:07:34
when i googled i found System.Diagonostic.debugger.Launch will split layers for debugging
peter
2009-03-23 14:12:33
A typical Web Application in Visual Studio will have 1xweb site and any number of DLLs (representing DAL, etc.). These will sit within a single Solution. (A Solution has can have 1 or more Projects). For simplicity, keep your projects in same solution for debugging.
Program.X
2009-03-23 14:52:58
Also, it's not the path you're interested in (Leave as bin\). Right click on Web Site Project, click Properties, click References in left pane and your dependant projects should be on the right hand side, added as Project (not bin/DLL)
Program.X
2009-03-23 14:54:00
here in reference paths,,everything is blank one folder option is browsing and adding,what to do here
peter
2009-03-23 16:28:19
In Reference Paths, click "Add references" to add your other Projects if they are not already present.
Program.X
2009-03-23 19:25:12
+1
A:
Are the layers all in separate Solutions? If so use the refrences to the Build\Debug directories to be able to step through.
Also make sure all projects are set the DEBUG under Build-> Configuration Manger
Glennular
2009-03-23 13:55:36
A:
If you are just referencing the dll's for the individual layers, make sure you copy the appropriate pdb files for the dlls as well.
Bryan Rowe
2009-03-23 16:05:16