I am having a problem trying to debug my windows service. The service
itself is working fine (it starts a timer, which writes a log entry
every 20 seconds). However, when I set my breakpoint on the line that
writes the log entry, the code never breaks - it just keeps writing
the log entries. I tried to attach my service to the running process
via Debug | Attach to Process (in VS 2005), but in the list of
Available Processes, my process is grayed out, and the Attach button
is disabled. Any idea what is preventing me from attaching to the
running process?
itself is working fine (it starts a timer, which writes a log entry
every 20 seconds). However, when I set my breakpoint on the line that
writes the log entry, the code never breaks - it just keeps writing
the log entries. I tried to attach my service to the running process
via Debug | Attach to Process (in VS 2005), but in the list of
Available Processes, my process is grayed out, and the Attach button
is disabled. Any idea what is preventing me from attaching to the
running process?
Comment