473,396 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Adding my messages to the trace.axd trace?

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
Apr 6 '07 #1
3 1735
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" <th*****@nospam.nospamwrote in message
news:2C**********************************@microsof t.com...
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


Apr 6 '07 #2
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

Apr 6 '07 #3
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" <th*****@nospam.nospamwrote in message
news:2C**********************************@microsof t.com...
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


Apr 6 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Rukmal Fernando | last post by:
Hi, I've been looking for a good Trace message monitoring tool to monitor trace messages (through System.Diagnostics.Trace.WriteLine() etc). I need it to collect traces from non-EXE code (esp....
3
by: tshad | last post by:
I have a page that is very long so I have set it up to page using <div> to display or hide the different pages. When I get to the last page the user submits the page. This works great, except...
3
by: tshad | last post by:
If you get an exception or SqlException, how do you get the actual message? Not the detailed breakdown, but the actual message. For example, in the following message, I would like to find just...
7
by: Thomas Pecha | last post by:
Sorry for all who think this is easy, I was not able to handle this Coming from VB6 where with simple debug.print strAString you could write to debug window, I am totalling failing in vb.net...
3
by: parrot toes | last post by:
Summary: I have been trying to make requests of a web service provided by Axis using a dotnet client with code generated by wsdl.exe and have been getting exceptions when trying to process the...
4
by: razvan | last post by:
I need advice about adding security to a web service without using WSE, as the clients will run Win98.
0
by: McGeeky | last post by:
Hi. I regularly use System.Diagnostics.Trace. I had been using it in a web service with no problems. But when I ran the web service on a different computer I no longer get the trace messages. Trace...
0
by: =?Utf-8?B?YWtz?= | last post by:
I've configured Trace switch in my app.config file: DebugLevel = new TraceSwitch("DebugLevel", "Trace Level for Entire Application"); and have created and initialized a trace listener in my...
1
by: CodeSeeker | last post by:
I have an application, which uses pop3 to read the messages from the mailbox, and it has been working fine for so many year. We recently have started changing this application to use java mail IMAP 4...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.