Monday, September 7, 2009

Debug Window Service In Visual Studio


I have a window service created in Visual Studio. For some reasons,I want to debug my code.


1. Install Window Service.

2. In Visual Studio, Go to Debug menu and choose Attach to process...

3. A dialog display, check "Show process from all users", find my service, then click Attach button

No comments: