需要帮助调试我编写的服务 [英] Need help debugging a service I've written
问题描述
我已经编写并安装了自己的系统服务,并且可以正常运行.我需要调试我的服务.我尝试以管理员身份运行Visual Studio并附加 到该进程,但是该进程即使正在运行,也没有显示在我可以附加的进程列表中.我知道该服务正在运行,因为它不仅说正在运行",还说正在运行".而且还可以将数据发送回网站
I have written and installed my own system service and have it running just fine. I need to debug my service though. I've tried running visual studio as admin and attach to the process but the process, even though it is running, does not show up in the list of processes that I can attach to. I know the service is running because, not only does it say "running" but also, it is designed to send data back to a website which it is doing.
推荐答案
您是否已选中显示所有用户的进程"复选框[https://msdn.microsoft.com/en-us/library/7a50syb3(v=vs .110).aspx ]?
Have you selected the "Show processes from all users" check box [https://msdn.microsoft.com/en-us/library/7a50syb3(v=vs.110).aspx]?
这篇关于需要帮助调试我编写的服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!