Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

OverviewTryTrace is a diagnostics tool which facilitates you to see the trace output of your .NET application in real-time. This contains two components, viz TcpTraceListener & TraceMonitor TcpTraceListener is the plug-in library which will route your trace out to the specified port. ... [More] TraceMonitor is a simple TCP client which facilitates to see the trace output. Alternatively, you can always look at the trace output by making a telnet to the specified port. Usage1.Copy TcpTraceListener and TraceMonitor to a directory, say C:\Temp 2.Register TcpTraceListener.dll to GAC if you need to share this among different applications in the system, by issuing gacutil command at Visual Studio command prompt. gacutil –I C:\Temp\TcpTraceListener.dll 3.Add reference to TcpTraceListener.dll for the project you desire. 4.Add this to the list of trace listeners. Param.TraceListener.TcpTraceListener objTcpTraceListener = new Param.TraceListener.TcpTraceListener(9090); System.Diagnostics.Trace.Listeners.Add(objTcpTraceListener); 5.Write trace/debug statements as usual. Trace.Write(strMessage) 6.Run TraceMonitor 7.Use toolbar to set IP & port to which it should connect for trace output. default, its 127.0.0.1 and 9090 8.Say Connect. And, here you go… 9.Alternatively, you can always use telnet. Advantages1.You can see the trace output in real-time as it occurs. 2.Makes your life easy in debugging. 3.Multiple users can see the trace output of a single application and of course vice-versa. [Less]

0
 
  0 reviews  |  0 users  |  1,290 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.