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

Forum statistics

Threads
473,989
Messages
2,570,207
Members
46,785
Latest member
undedgini

Latest Threads

Top