TRACE function ?? (writing to IDE output window while debugging)

  • Thread starter Thread starter Sagaert Johan
  • Start date Start date
S

Sagaert Johan

In vc6 there was the TRACE fuction to write to the output window while
debugging

Is this also possible in the VS .NET IDE ?
 
System.Diagnostics.Debug.Write
System.Diagnostics.Debug.WriteLine

Hope this helps
Dan Cimpoiesu
 
This does'nt work when debugging Smartdevice Apps ,(CF)
No error , but nothing shows up in the debugger output window.
 
Sagaert,
In addition to System.Diagnostics.Debug there is System.Diagnostics.Trace.

By default Debug is available in only Debug Builds of your project.

By default Trace is available in both Debug & Release builds of your
project.

Hope this helps
Jay
 

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