Re: reading asp.net trace

Tech-Archive recommends: Fix windows errors by optimizing your registry



Rick,
Usually the best way to use trace is to write your own information
to the trace log. For example Trace.Write("Firing some event","here is some
data from a variable") This will get dumped to the trace log.

Trace's can be excellent in loops as you can output some relevant
data about the loop, such as what iteration you're on (good for spotting
infinite loops) and information from other variables. One of the problems
though with a trace, the entry in the log is not written until the page is
completed executing so you won't have trace info until the page is completed
or terminates due to running too long.


--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Rick Mavrovik" <rick.mavrovik@xxxxxxxxx> wrote in message
news:%23VJzeHfnHHA.4032@xxxxxxxxxxxxxxxxxxxxxxx
hi
one of the pages in my asp.net application is taking very long to load. i
want find out what is causing the problem. its probably ajax.

i am not finding the asp.net trace any useful, i mean i do not know how to
make that trace information useful in diagnosis of this problem..can any
one help me in this regard..

direct to any good resource regarding asp.net trace..

-rick



.



Relevant Pages

  • Re: Damn you, FEDEX! or Nikon D40 lost in Springfield, MO blackhole.
    ... the 2 mp Mavica he had been using with a Nikon D40. ... After shopping around, he got me to order one for him. ... The shipper had it insured, but from what I have read it could take weeks to sort this crap out. ... You may get your insurance from FedEx and a couple weeks later they find it and deliver it. ...
    (alt.photography)
  • Re: Possible to change name of trace.axd in web.config file?
    ... The trace log is a virtual file. ... > When I click on a link to view trace results in my custom axd webpage, ... I'd like to rename the trace ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Possible to change name of trace.axd in web.config file?
    ... The trace log is a virtual file. ... > When I click on a link to view trace results in my custom axd webpage, ... I'd like to rename the trace ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Apple IIc plus RGB video?
    ... passes through a pair of plastic rings and loops around twice. ... tomorrow, if anyone is interested, I can trace the wires. ...
    (comp.sys.apple2)
  • Re: Apple IIc plus RGB video?
    ... passes through a pair of plastic rings and loops around twice. ... tomorrow, if anyone is interested, I can trace the wires. ...
    (comp.sys.apple2)