Windos wervices [英] Windos wervices

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

问题描述

如何在.Net 2005中调试Windows服务?

在通过CMD安装该过程之后, installutil -i process.exe

我收到JIT错误.说我需要调试过程.
如果我说是"并选择CLR 2005 debugg

它给出了一个错误没有为任何调用堆栈帧加载任何符号.无法显示源代码."

请帮助..

如果我要在VS 2005中附加一个进程,则为
我遇到错误
以下模块是在启用优化或没有调试信息的情况下构建的."

请帮助

How do I debug a Windows Service in .Net 2005?

After instaling the process through CMD > installutil -i process.exe

i am geting JIT error. Sayign that do i need to debugg the process.
If i say yes and chose CLR 2005 debugg

Its gives a error " No symbols are loaded for any call stack frame.The source code cannot be displayed."

Pleas help ..

if i am trying to attach a process in VS 2005
i am geting a error
" The following module was built either with optimizations enabled or without debug information."

please help

推荐答案

请参阅此处 [ ^ ].


通过设置一个断点,然后从那里逐步执行代码.
By setting a break point and then stepping through code from there.


我已经设置了断点. 启动."

但仍然无法调试.

注意:我的服务已经安装.

我需要卸载并通过vs命令promt进行安装吗?
I have put the breakpoint. "ON start up."

but still i am not able to debug.

Note: My services is already installed.

Do i need to unstall that and install through vs command promt?


这篇关于Windos wervices的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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