Debugging Tip for Windows Services in Whidbey
I wrote a simple Windows Service last night. I found something interesting when you debug and your service is running as a differnet user, which is the situation with most services. When you first get the list of processes that are currently running, you will see the vshost.exe executable for the service, but you can't select the executable. I fixed this by selecting the checkbox titled "Show Processes from all users." Once I selected the checkbox, I was able to see the exe, attach to the process, and debug as I had thought.