PC Review


Reply
Thread Tools Rate Thread

Adding my messages to the trace.axd trace?

 
 
=?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=
Guest
Posts: n/a
 
      6th Apr 2007
Hi;

Is there a way to put messages that are output to trace.axd so I can see
where in my code the delay is? And is there an if (something) I can call to
see if tracing is on so I don't have to compute output values if they are not
going to be used?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm


 
Reply With Quote
 
 
 
 
Juan T. Llibre
Guest
Posts: n/a
 
      6th Apr 2007
You can achieve what you want by adding trace="true"
to your page directive, instead of doing it for trace.axd.

For details, see Rob Howard's article :

http://msdn2.microsoft.com/en-us/library/ms972204.aspx





Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"David Thielen" <(E-Mail Removed)> wrote in message
news:2C7F66F7-CD00-4D31-B459-(E-Mail Removed)...
> Hi;
>
> Is there a way to put messages that are output to trace.axd so I can see
> where in my code the delay is? And is there an if (something) I can call to
> see if tracing is on so I don't have to compute output values if they are not
> going to be used?
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm
>
>



 
Reply With Quote
 
=?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
Guest
Posts: n/a
 
      6th Apr 2007
Hi

There is a Trace property on the page

Trace.Write("message");
Trace.Write("group", "message");
--
Milosz


"David Thielen" wrote:

> Hi;
>
> Is there a way to put messages that are output to trace.axd so I can see
> where in my code the delay is? And is there an if (something) I can call to
> see if tracing is on so I don't have to compute output values if they are not
> going to be used?
>
> --
> thanks - dave
> david_at_windward_dot_net
> http://www.windwardreports.com
>
> Cubicle Wars - http://www.windwardreports.com/film.htm
>
>

 
Reply With Quote
 
=?Utf-8?B?RGF2aWQgVGhpZWxlbg==?=
Guest
Posts: n/a
 
      6th Apr 2007
perfect - thank you

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm




"Juan T. Llibre" wrote:

> You can achieve what you want by adding trace="true"
> to your page directive, instead of doing it for trace.axd.
>
> For details, see Rob Howard's article :
>
> http://msdn2.microsoft.com/en-us/library/ms972204.aspx
>
>
>
>
>
> Juan T. Llibre, asp.net MVP
> asp.net faq : http://asp.net.do/faq/
> foros de asp.net, en español : http://asp.net.do/foros/
> ===================================
> "David Thielen" <(E-Mail Removed)> wrote in message
> news:2C7F66F7-CD00-4D31-B459-(E-Mail Removed)...
> > Hi;
> >
> > Is there a way to put messages that are output to trace.axd so I can see
> > where in my code the delay is? And is there an if (something) I can call to
> > see if tracing is on so I don't have to compute output values if they are not
> > going to be used?
> >
> > --
> > thanks - dave
> > david_at_windward_dot_net
> > http://www.windwardreports.com
> >
> > Cubicle Wars - http://www.windwardreports.com/film.htm
> >
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why doesn't Trace.axd show trace output after Server.Transfer? Chris Newby Microsoft ASP .NET 0 28th Jul 2008 06:08 AM
Trace Precedents/Trace Dependents Tools Disabled =?Utf-8?B?SmFuaWU=?= Microsoft Excel Crashes 1 2nd Jun 2007 08:52 PM
No trace messages using Diagnostics.Trace McGeeky Microsoft ASP .NET 0 1st Feb 2006 02:49 PM
Trace: Can anyone suggest a good tool to catch trace messages? Rukmal Fernando Microsoft C# .NET 4 27th Oct 2003 09:03 PM
Saving Trace precedent trace dependent arrows John Microsoft Excel Worksheet Functions 1 12th Sep 2003 03:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:51 AM.