Debugging Dal

Debugging Dal

Old forum URL: forums.lhotka.net/forums/t/12066.aspx


mayurimalgave posted on Thursday, July 11, 2013

How to debug Dal, DalEf projects?

JonnyBee replied on Thursday, July 11, 2013

Hi,

What is the problem?

How is your configuration?

mayurimalgave replied on Friday, July 12, 2013

I just want to check the flow of execution by setting breakpoints in the classes from Dal & DalEf projects.I have developed a project using CSLA & have reffered the ProjectTracker solution. 

JonnyBee replied on Friday, July 12, 2013

Hi,

Well, tat is why I ask about your configuration. 

If you use N-tier configuration (like ProjectTracker) the easiest way is to configure your solution to have multiple startup applications (with attached debugger). 

This is configured in Solution - Properties. You should set both your client solution (ex PTWin) and server hosting solution (ex WCFHost) as startup prosjetc so the debugger will attach to both process. 

 

mayurimalgave replied on Friday, July 12, 2013

Thank you.. I was able to debug all projects using Multiple Startup Projects as you suggested..

mayurimalgave replied on Friday, July 12, 2013

How can I debug Async methods?

Copyright (c) Marimer LLC