What's New in ASP.NET Tracing
ASP.NET tracing enables you to follow a page's execution path, display diagnostic information at run time, and debug your application. ASP.NET tracing can be integrated with system-level tracing to provide multiple levels of tracing output in distributed and multi-tier applications.
In ASP.NET 2.0, the major improvements to tracing features are:
Integrated tracing functionality You can now route messages emitted by theclass to ASP.NET tracing output, and route messages emitted by ASP.NET tracing to System.Diagnostics.Trace. You can also forward ASP.NET instrumentation events to System.Diagnostics.Trace. For more information, see .
Programmatic access to trace messages You can access and manipulate trace messages from your code for finer control over the format of trace messages or for additional processing you require. For more information, seeand .
Improved application-level tracing A new application-level tracing option lets you view the most recent tracing data available without restarting a tracing session or increasing the amount of tracing data the server must store. The most recent tracing data is displayed, while older tracing data is discarded. For more information, see.