Compile your Windows Service in debug mode. After install it with
installutil and launch it. In Visual Studio, press Ctrl + Alt + P, select
your process and press "Attach" button. Now you can debug it. Put break
point in your code and when your windows service treat this line VS.NET
suspend the service on it.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.