I have a windows service where I use System.Diagnostics.Debugger.Launch(); to debug the service. It worked on VS 2010 Pro RC, not on the express edition…
Is there a way to debug a windows service with express edition ?
Thanks in advance
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I wasn’t aware that you could do that. The way that I normally do it is that I add some command line options to the service, so if it’s started as
[servicename].exe -cit starts as a normal executable and then I just set -c as the startup parameter in Visual Studio.So in my main I’ve got something similar to this: