JIT问题:无法启动调试器,因为没有用户登录 [英] JIT problem :debugger could not be started because no user is logged on
本文介绍了JIT问题:无法启动调试器,因为没有用户登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试启动时,我有一个c#Windows服务,但遇到以下错误,任何人都可以帮助我.
及时调试此异常失败,并出现以下错误:由于没有用户登录,因此无法启动调试器."
I have a c# windows service when i try to start i am getting the following error could any one help me.
"Just-In-Time debugging this exception failed with the following error: Debugger could not be started because no user is logged on. "
推荐答案
" 调试Windows服务"
方法1:附加调试器
方法2:将服务逻辑封装在类中
有关更多信息,请参见此链接..您将获得想法..
http://ondotnet.com/pub/a/dotnet/2003/09/02/debuggingsvcs.htm [ ^ ]
"Debugging Windows Services"
Method 1: Attaching a Debugger
Method 2: Encapsulating the Service Logic in a Class
See this link for more info.. you will get idea..
http://ondotnet.com/pub/a/dotnet/2003/09/02/debuggingsvcs.htm[^]
这篇关于JIT问题:无法启动调试器,因为没有用户登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文