473,788 Members | 2,733 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Hi,

I've been looking for a good Trace message monitoring tool to monitor trace
messages (through System.Diagnost ics.Trace.Write Line() 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.
Nov 15 '05 #1
4 2346
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" <ru************ *@hotmail.com> wrote in message
news:un******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

I've been looking for a good Trace message monitoring tool to monitor trace messages (through System.Diagnost ics.Trace.Write Line() 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.

Nov 15 '05 #2
"José Joye" <jo*******@KILL THESPAMSbluewin .ch> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
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.Diagnost ics.TraceListen er and then
add it to the Trace.Listeners collection.
--
John Saunders
Internet Engineer
jo***********@s urfcontrol.com

José
"Rukmal Fernando" <ru************ *@hotmail.com> wrote in message
news:un******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

I've been looking for a good Trace message monitoring tool to monitor

trace
messages (through System.Diagnost ics.Trace.Write Line() 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.


Nov 15 '05 #3
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
je***@dennany.o rg
"Rukmal Fernando" <ru************ *@hotmail.com> wrote in message
news:un******** ******@TK2MSFTN GP09.phx.gbl...
Hi,

I've been looking for a good Trace message monitoring tool to monitor trace messages (through System.Diagnost ics.Trace.Write Line() 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.

Nov 15 '05 #4
John Saunders wrote:
"José Joye" <jo*******@KILL THESPAMSbluewin .ch> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
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 DefaultTraceLis tener class which
generates messages using OutputDebugStri ng. DebugView is an excellent tool
to do this. BTW OutputDebugStri ng 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 OutputDebugStri ngs, but only for the process that is being
debugged. DebugView will do that for _all_ processes.

Richard
--
my email ev******@zicf.b et is encrypted with ROT13 (www.rot13.org)
Nov 15 '05 #5

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

Similar topics

0
1666
by: Mike G | last post by:
Greetings, I hope this is an appropriate place to ask this. I have written a C# Windows Service that Traces important information and statistics. It is required for me to create a seperate Windows Forms application that can attach to this service and read in the trace information for display, so that a user can see what the service is doing, similar to VS.NET's debugger. I'm at a loss for a good way to do this. For statistics I'm sure I...
6
6074
by: Chris | last post by:
Can anyone point me to some code that will display messages, in a seperate window, from javascipt. ie effectively a trace window? TIA Chris
2
5268
by: Kevin | last post by:
Hi All, Can someone please tell me what the difference is between DEBUG and TRACE. From what I can see, they are two different classes, but with the same members? Whats the purpose of have two different classes that seem to do the same thing? Thanks alot for any help, much appreciated Kevin
5
1592
by: Dabbler | last post by:
When I first start up an ASP.NET application with tracing enabled in web.config the first few pages show trace at bottom of the page but then at some point the pages return to normal with no trace information displayed. Can anyone tell me what might be causing the Trace to turn off? Thanks for any help with this ..NET 1.1 running on localhost
2
2265
by: Tiësto | last post by:
Should I always check if Trace is enabled before attempting to use Trace.Write or Trace.Warn? will it throw an exception if I don't? will It make thing slower if I write entries in the trace when I haven't trace enabled neither at application level nor page level? Another Question: Is there any easy automatic way to see the full code execution path for a given request? I would like to see all of the members that were accessed and the...
1
4372
by: Patrick | last post by:
When Tracing in ASP.NET, the IIS process (on IIs5.1) is locking on the Trace file, and I can't read the trace file without restarting the IIS: Even the following does NOT work (how could I fix this??): System.Diagnostics.Trace.WriteLine(System.DateTime.Now.ToLongTimeString()+ "--" + dirException.ToString()); System.Diagnostics.Trace.Flush(); ((System.Diagnostics.TraceListener) System.Diagnostics.Trace.Listeners).Close();
1
1925
by: newcomer | last post by:
I have traced action in XML. Now I would like to replay that. How could I do that based on this XML trace? I am using soap:tcp between client and server. thanks,
8
2150
by: Bryan | last post by:
Does anyone have an example of an application that can connect to a running process and capture Trace.WriteLine calls like in SQL Server Profiler? I know that we can inherit from a TraceListener class to write to files, databases, etc..., but I would really like to attach to running .NET processes and get the results without any logging and instead capture the real-time results when troubleshooting.
4
2962
by: kyosohma | last post by:
Hi All, Can Python parse a trace file created with MS SQL's profiler? There are a few thousand lines in the trace file and I need to find the insert statements and the stored procedures. Unfortunately, I am not an SQL guru and was hoping Python could help. Any pointers are appreciated. Thanks!
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10113
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8995
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7519
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5402
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5538
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3677
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.