How to print to the Debugger output ? - Zeba

29-Mar-07 06:18:28
Hi ,
statement for a website, the webserver will send the output the server
output window. Is there any such provision in .net where, say using my
Console.Writeline I can print to the Debugger Output ?
Thanks !
reply
 
 

How to print to the Debugger output ? - PhilipDaniel

29-Mar-07 06:50:04
Look into System.Diagnostics namespace.

The Debug class allows you to write into a debugging stream, but the
Trace class is more sophisticated - you can turn tracing on and off
and control the levels, output file etc. from your config file.




--
Philip Daniels
reply
 

How to print to the Debugger output ? - Zeba

29-Mar-07 06:55:25
Thanks a lot !!! That has saved me a whole lot of headache !
reply
 

How to print to the Debugger output ? - PhilipDaniel

29-Mar-07 07:17:34
I should also have mentioned http://logging.apache.org/log4net/ which
I am just looking into...this may be useful if you have non-trivial
logging requirements.


--
Philip Daniels
reply
 

How to print to the Debugger output ? - Zeba

29-Mar-07 07:56:58
Okay .. thanx !
reply
 
Typed DataSets in VS2005
promotion
Silverlight    WPF    WCF    WWF    LINQ   
JavaScript    AJAX    ASP.NET    XAML   
C#    VB.NET    VB 6.0    GDI+    IIS    XML   
.NET Generics    Anonymous Methods    Delegate   
Visual Studio .NET    Expression Blend    Virus   
Windows Vista    Windows XP    Windows Update   
Windows 2003 Server    Windows 2008 Server   
SQL Server    Microsoft Excel    Microsoft Word   
SharePoint    BizTalk    Virtual Earth   
.NET Compact Framework    Web Service   

"Everything" RSS / ATOM Feed Parser
How to send and receive messages through message queuing in .Net
How to Read text file as database
SQL Server 2005 Paging Performance Tip
Display code of web page.
Fully Scalable Excel File Importer class for .net using Microsoft Jet driver
Generic Chart Color Manager class that can be used for any charts
Helper class to style the infragistics wingrid
Using Reflection to detemine as Assembly Info in and out.
Helper class to play with Window (Owners and position)
Resolving displayname from the culture using the XmlLanguage and LanguageSpecificStringDictionary class