Tracing

R

rn5a

How do I enable tracing for only a part of a code in an ASP.NET page?
For e.g. how do I find out whether a condition has been met or not
using Trace.Write (or Trace.Warn)?

If I enable Trace="True" in the @Page directive, the ASPX page will
display the entire trace information but I want the trace information
for only the condition. How do I achieve this?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top