|
Debugging: Global Page
Tracing by Charles Carroll
One of the nicest parts of ASP.net
debugging is what I call post-mortem debugging. You can observe the vital execution of
previously executed pages. Imagine someone called you or wrote tech support and
complained their page had errors. You could pull up their page request, observe
the vital info (browser, cookies, millisecond timing, etc.)
Lets observe what a typical
post-mortem trace looks like on my server:
<http://www.learnasp.com/trace.axd>
Here is the simple setting in the web.config file
that enables that style of tracing:
<configuration>
<system.web>
<trace
enabled="true"
traceMode="SortByCategory"
requestLimit="40"
pageOutput="false"
localOnly="false"
/>
</system.web>
</configuration>
|