text: Re: How to get debugging output in .Net
  - From: "Richard Lionheart" <NoOne@xxxxxxxxxxx>
  - Date: Tue, 30 Aug 2005 15:22:32 -0400
  Hi Lau Lei ,
  Thank you for your help. As you may notice, I got a response from Michael:
  Use Debug.WriteLine() from System.Diagnostics
  I think his syntax means less typing for me, so I think I'm going to adopt
  his idea.
  Best wishes,
  Richard
  "Lau Lei Cheong" <leu_lc@xxxxxxxxxxxx> wrote in message
  news:e%23ioyKRrFHA.460@xxxxxxxxxxxxxxxxxxxxxxx
  > I'm not writting C++ projects, but I prefer to use
  > System.Console.Error.Write()/WriteLine() to output console debug messages.
  > (And I suspect this will also work for winform, where in debug mode it'll
  > write into "Output" window)
  >
  > "Richard Lionheart" <NoOne@xxxxxxxxxxx>
  > ¼¶¼g©ó¶l¥ó·s»D:OZliTgPrFHA.2880@xxxxxxxxxxxxxxxxxxxxxxx
  >> Hi All,
  >>
  >> I'm creating a web-forms app using Prosise's "Programming MS .Net"
  >> (2002). He had a try block (on p. 208) followed by:
  >>
  >> catch (FormatException e)
  >> {
  >> Output.Text("Error");
  >> }
  >>
  >> The only namespace he imported was System.Data.
  >>
  >> I tried the same thing, but the compiler didn't like "Output." Could
  >> that be because I'm running .Net 1.1, where his book was no doubt based
  >> on 1.0?
  >>
  >> Then I tried System.Diagnostics.Trace.WriteLine ("Starting Page_Load");
  >> but couldn't find that text anywhere, not on the Client window nor in
  >> the Output | Debug pane.
  >>
  >> I haven't written MSVC++ in years, but I miss my Debug.Output (or
  >> whatever I did back then).
  >>
  >> Any ideas,
  >>
  >> TIA,
  >> Ricard
  >>
  >
  >
  .
  - References:
  - How to get debugging output in .Net
  - From: Richard Lionheart
  - Re: How to get debugging output in .Net
  - From: Lau Lei Cheong
  - Prev by Date: RE: disable focus rectangle
  - Next by Date: DirectoryEntry.Close vs DirectoryEntry.Dispose
  - Previous by thread: Re: How to get debugging output in .Net
  - Next by thread: Re: How to get debugging output in .Net
  - Index(es):