开发者

Windows service trace debug messages

开发者 https://www.devze.com 2022-12-26 09:42 出处:网络
HI I wrote a udp server classlibray i hosted it in windows form and it works fine. When i debug the trace and开发者_运维问答 debug messages shows in output. When i host the cl in a windows service no

HI

I wrote a udp server classlibray i hosted it in windows form and it works fine. When i debug the trace and开发者_运维问答 debug messages shows in output. When i host the cl in a windows service none of the debug messages is showing. Both cl and windows service is in debug there is no tracelisteniners specified so it should use outputstring.I even put a messagebox.show in the cl just to make sure the function is getting called in the windows service and it does.

So how do i get the trace/debgug message showing.The service is running as localsystem.

What am i missing


Try DbgView program: http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx


The "Capture Global Win32" was not checked.

0

精彩评论

暂无评论...
验证码 换一张
取 消