蒙古百杰 巴森扎布:How to debug windows service
来源:百度文库 编辑:中财网 时间:2024/04/29 12:04:35
) Add such code to the service's entry, static Main() function,
#if DEBUG
System.Diagnostics.Debugger.Launch();
#endif
2) install your windows service appliation with visual studio command tool. command line as follow:
installUtil.exe
3) Open your windows service source code with visual studio, start your windows service at service tool (you can find it at administrator's tool control panel),
then it will pop-up a dialog ask you if want to debug, select yes, that's ok, you can debug your application.
4) If you have modified your source code, you need uninstall the windows service, build your source code, reinstall agian.
#if DEBUG
System.Diagnostics.Debugger.Launch();
#endif
2) install your windows service appliation with visual studio command tool. command line as follow:
installUtil.exe
3) Open your windows service source code with visual studio, start your windows service at service tool (you can find it at administrator's tool control panel),
then it will pop-up a dialog ask you if want to debug, select yes, that's ok, you can debug your application.
4) If you have modified your source code, you need uninstall the windows service, build your source code, reinstall agian.
help!!! how to display chinese in windows 2000 professional (english)?
how to install JiDian Wubi in windows 2000 english version?
how to became to tall
how to reach to happy?
how to reach to happy?
How to to distinguish diamond??
how to be rich
how to use 酷狗
How to get satisfied?
how to protect environment
how to study English
how to happy?
how to 治疗失眠
how to meditate?
how to write article?
xunlei5 how to 下载
how to use 金山词霸?
How to conserve water?
how to cook chicken
HOW TO LEARN MONEY ?
how to become thin
HOW TO 泡妞
how to send email
How to study well