Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Trace: Can anyone suggest a good tool to catch trace messages?

Reply
Thread Tools

Trace: Can anyone suggest a good tool to catch trace messages?

 
 
Rukmal Fernando
Guest
Posts: n/a
 
      10-10-2003
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. WebParts).

Can anyone recommend a good tool for my purpose?

Many thanks in advance.

Rukmal.


 
Reply With Quote
 
 
 
 
José Joye
Guest
Posts: n/a
 
      10-10-2003
Maybe the tools from SysInternals is what you are looking for. It will catch
all call make to Trace.WriteLine:

http://www.sysinternals.com/ntw2k/fr...ebugview.shtml
José
"Rukmal Fernando" <> wrote in message
news:...
> 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. WebParts).
>
> Can anyone recommend a good tool for my purpose?
>
> Many thanks in advance.
>
> Rukmal.
>
>



 
Reply With Quote
 
 
 
 
John Saunders
Guest
Posts: n/a
 
      10-11-2003
"José Joye" <> wrote in message
news:%...
> Maybe the tools from SysInternals is what you are looking for. It will

catch
> all call make to Trace.WriteLine:
>
> http://www.sysinternals.com/ntw2k/fr...ebugview.shtml


I took a look at the above URL, but it doesn't say anything about capturing
the output of Trace.WriteLine.

In order to catch the output of Trace.WriteLine, you will need to create an
instance of a class deriving from System.Diagnostics.TraceListener and then
add it to the Trace.Listeners collection.


--
John Saunders
Internet Engineer



> José
> "Rukmal Fernando" <> wrote in message
> news:...
> > 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. WebParts).
> >
> > Can anyone recommend a good tool for my purpose?
> >
> > Many thanks in advance.
> >
> > Rukmal.
> >
> >

>
>



 
Reply With Quote
 
Jerry Dennany
Guest
Posts: n/a
 
      10-13-2003
You might take a look at my article on tracelisteners at
http://www.codeproject.com/csharp/cu...celistener.asp

It has some example code for setting up a tracelistener.

Jerry Dennany



"Rukmal Fernando" <> wrote in message
news:...
> 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. WebParts).
>
> Can anyone recommend a good tool for my purpose?
>
> Many thanks in advance.
>
> Rukmal.
>
>



 
Reply With Quote
 
Richard Grimes [MVP]
Guest
Posts: n/a
 
      10-27-2003
John Saunders wrote:
> "José Joye" <> wrote in message
> news:%...
>> Maybe the tools from SysInternals is what you are looking for. It
>> will catch all call make to Trace.WriteLine:
>>
>> http://www.sysinternals.com/ntw2k/fr...ebugview.shtml

>
> I took a look at the above URL, but it doesn't say anything about
> capturing the output of Trace.WriteLine.


Jose means the output from the standard DefaultTraceListener class which
generates messages using OutputDebugString. DebugView is an excellent tool
to do this. BTW OutputDebugString is a double edges sword because it couples
your application to the application reading the strings. If the reader
program is not written correctly (eg you put a large delay in the code that
reads the debug strings) then the thread writing the strings will be
blocked. DebugView is well written, of course . The VS.NET debugger will
also read OutputDebugStrings, but only for the process that is being
debugged. DebugView will do that for _all_ processes.

Richard
--
my email is encrypted with ROT13 (www.rot13.org)


 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Can anyone suggest a good source for a digital catalog software? Ozark Computer Support 2 05-02-2012 06:25 AM
Can anyone suggest a good crypto package? Fett Python 12 09-10-2008 05:14 PM
Can anyone suggest a good ASP.Net book ? Leonardo MCSD 5 04-12-2006 09:26 PM
Can anyone suggest a good headset/mic for chat and speech recognition for less than $30? Jeff M. Ingram Computer Support 0 01-19-2004 10:52 PM
Trace: Can anyone suggest a good tool to catch trace messages? Rukmal Fernando ASP .Net Web Controls 4 10-27-2003 09:03 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57