I have a windows service with a timer. Its very hard to debug it. Because I start the service and put break points in different parts of the code. When I attach the process,
It is not as convenient as breakpoints in the debugger but I found writing output to a simple log files helps. We have services that spawn threads to perform work and writing out to a log file has helped pinpoint problems.