Redian新闻
>
Newbie Question about Debugging
avatar
Newbie Question about Debugging# DotNet - 窗口里的风景
a*t
1
I am new to C#.NET. I know I can use Trace.Write to print debug information to
the aspx page. What about the classes that don't have a "front" aspx page? How
do I print debugging information?
Thanks!
avatar
n*g
2
try log4net.

【在 a*******t 的大作中提到】
: I am new to C#.NET. I know I can use Trace.Write to print debug information to
: the aspx page. What about the classes that don't have a "front" aspx page? How
: do I print debugging information?
: Thanks!

avatar
a*t
3
Thanks!

information to
How

【在 n*********g 的大作中提到】
: try log4net.
avatar
d*u
4
You can write to a local file
Or you can write to event log

to
How

【在 a*******t 的大作中提到】
: I am new to C#.NET. I know I can use Trace.Write to print debug information to
: the aspx page. What about the classes that don't have a "front" aspx page? How
: do I print debugging information?
: Thanks!

avatar
m*e
5
why not simple trace down. hehe
or: System.Diagnostics.EventLog.WriteEntry

to
How

【在 a*******t 的大作中提到】
: I am new to C#.NET. I know I can use Trace.Write to print debug information to
: the aspx page. What about the classes that don't have a "front" aspx page? How
: do I print debugging information?
: Thanks!

avatar
a*t
6
I'll look into that as well. Thanks.

information

【在 m**********e 的大作中提到】
: why not simple trace down. hehe
: or: System.Diagnostics.EventLog.WriteEntry
:
: to
: How

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。