Debugging windows services

后端 未结 5 859
抹茶落季
抹茶落季 2020-12-10 20:55

I have created a windows service and installed it manually. Later started the service from Services tool. Now I want to dubug the windows service application from Visual st

5条回答
  •  情书的邮戳
    2020-12-10 21:52

    Debugging services requires certain permissions:

    Setting Debug Permissions - Debugging a System Service

    If you can't get the necessary permission another option to debug your service is via System.Diagnostics.Trace. You can monitor the messages being traced by your service with Sysinternal's DbgView.

提交回复
热议问题