Write to DebugOutputString in Debugging Mode

  • Thread starter Thread starter tobi
  • Start date Start date
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
 
Use preprocessor directives...
#if _DEBUG_
/// Implement anything u want, in debug mode..
#endif

--
HTH

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