Windows服务远程调试 [英] Windows Service Remote Debugging

查看:299
本文介绍了Windows服务远程调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我需要进行更深入的调试。

I need to doing a deeper debugging.

我们有ac#service应用程序。此服务挂起服务器一段时间(CPU峰值异常)。我不能把它测试到本地。我需要在生产服务器上进行远程调试。

We have a c# service application. This service hangs some time the server (abnormal CPU Peak). I cannot test it into local. I need to do a remote debug on the production server.

在Web服务器上启用应用程序洞察(在同一台服务器上) 。 

我想我必须进行远程调试。但是如何?

I think i must doing a remote debug. But how ?

我该怎么办? 

也许我可以做个人资料管理器?

Maybe can i do a profiler ? 




I在dev服务器上成功进行远程调试,但我什么都没看到(没有真正的负载...)

I successfully do a remote debug on the dev server, but i see nothing (no real load...)

最好的问候

IT VBO




一件事:是Windows服务。如果我进行远程调试,exe不会作为服务执行,我会收到类似"service start Failure"的错误。

One thing : Is a Windows service. if i do a remote debug, the exe is not executed as service and i get an error like "service start Failure".

推荐答案

嗨IT_VBO,

Hi IT_VBO,

>>我想我必须做一个远程调试。但是如何?

>> I think i must doing a remote debug. But how ?

根据你的描述,我认为你需要安装远程调试工具。请参阅以下MSDN文档:

According to your description, I think you need to install the remote debug tools. Please refer to the following MSDN document:

https://msdn.microsoft.com/en-us/library/y7f5zaaa.aspx?f=255&MSPPError=-2147217396

此致,

奥斯卡


这篇关于Windows服务远程调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆