How to print to the Debugger output ?

  • Thread starter Thread starter Zeba
  • Start date Start date
Z

Zeba

Hi ,
From what I remember, in Java if you give a System.Out.Println
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 !
 
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 !

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top