Is it possible to debug the Windows services in Visual Studio?
I used code like
System.Diagnostics.Debugger.Break();
but it is giving some code error like:
I got two event error: eventID 4096 VsJITDebugger and "The service did not respond to the start or control request in a timely fashion."
You can also try this.
(After a lot of googling, I found this in "How to debug the Windows Services in Visual Studio".)