I am trying to debug a windows service application. I have compiled it and can launch the service fine. But from within the VS from the service project, when I try to Attach to Process, the process for this program is greyed out. If I launch a new copy of VS then I can attach to it, but it doesn't load the whole project so I can't put break points where I want.
Background: This VS Solution contains three projects. A DLL with all the core program logic, A console program, and a service program, each calling the DLL code. The DLL code employs a background worker to do it's job in another thread.
My service version is periodially crashing on site and I'm trying to reproduce the problem. Seems to be related to writing to the log file.
Start Free Trial