Debugging w/ Breakpoints

Topics: Troubleshooting
Mar 29, 2007 at 8:04 PM
Hey guys,

LitwareHR is great, thanks!

We are having trouble adding breakpoints to any of the code that is executed after reaching the WCF web service layer. How do we enable breakpoints throughout the entire LitwareHR solution?

Mar 29, 2007 at 9:46 PM
Hi LongTail,
If you already made LitwareHR installation and you want to debug it, you can do it by attaching to the IIS process:
1) Open \Src\Litware\LitwareHR.sln solution
2) Browse
3) In Visual Studio, attach to the IIS application pool process: debug->attach to process, select w3wp.exe and press the attach button.
4) Now you should be able to place breakpoints and debug :-)

...or you can change the websites server (Property pages -> Statr Options) to point each one of them to their server url. For example LitwareHR.Portfolio.SecureHost would point to %InstallDir%\Src\Litware\LitwareHR.Portfolio.SecureHost.

Hope that helps! What part of the application are you more interested in debbuging?

Ariel Schapiro
Mar 29, 2007 at 10:16 PM

Currently we are analyzing the LitwareHR.Recruiting.Services project. More specifically, the ProcessServices.cs and the ProcessLogic.cs classes. Even more specifically, how the EvaluateCandidates section of the public website interacts with the workflow instances. What would be the equivalent of the w3wp.exe process in WinXP?

Thanks again!
Mar 30, 2007 at 1:45 AM

On Windows XP, you may want to attach to the "aspnet_wp.exe" process.
If you are interested in EvaluateCandidates and WF, I hope you find these discussions useful:

Ariel Schapiro