By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,018 Members | 1,163 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,018 IT Pros & Developers. It's quick & easy.

System.Diagnostics.Trace.WriteLine() skipped over

P: n/a
I am writing one particular web app in ASP.NET 2.0 in debug mode.

Even when I step through the code, the IDE skips over every occurrence
of System.Diagnostics.Trace.WriteLine(), but honors
System.Diagnostics.Debug.WriteLine().

I have other web app's that run fine, Trace.WriteLine() actually
writes to the output window and my TraceListener catches it.

What can I configure / set so that this web app honors
Trace.Writeline()?

Thanks

Oct 12 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Have you set Trace.IsEnabled?

You can also set it at application-level in web.config.

<configration>
<system.web>
<trace enabled="true" />

-Michael Placentra II

On Oct 12, 2:30 pm, samueltil...@gmail.com wrote:
I am writing one particular web app in ASP.NET 2.0 in debug mode.

Even when I step through the code, the IDE skips over every occurrence
of System.Diagnostics.Trace.WriteLine(), but honors
System.Diagnostics.Debug.WriteLine().

I have other web app's that run fine, Trace.WriteLine() actually
writes to the output window and my TraceListener catches it.

What can I configure / set so that this web app honors
Trace.Writeline()?

Thanks
Oct 14 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.