E:\web\learnaspcom\htdocs\freebook\learn\ubtoc.xml LearnAsp.com - ASP ASP.net Free Lessons
Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll
<Asp.net blog>
<personal site>
xxx

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>
There are many worthy charities!!. But perhaps help starving children in Africa or South America AND help Charles too. a $5 tip buys him lunch at McDonalds, a $20 tip buys his kid Hitoshi a new computer game, a $39 tip buys his daughter Michiko a few nice outfits. See our donor list.