Write to DebugOutputString in Debugging Mode

T

tobi

Hi NG,

how can i write to the DebugOutputString while running my app in
debugging mode?

I want my app to write always to the DebugOutputString and never want
VisualStudio to catch the Debug.WriteLine calls, so that i always see
the the debug output in DebugView.


thanks

tobi
 
Y

Yunus Emre ALPÖZEN [MCSD.NET]

Use preprocessor directives...
#if _DEBUG_
/// Implement anything u want, in debug mode..
#endif

--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
 

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

Top