471,350 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Write to DebugOutputString in Debugging Mode

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

Nov 28 '05 #1
1 4998
Use preprocessor directives...
#if _DEBUG_
/// Implement anything u want, in debug mode..
#endif

--
HTH

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

"tobi" <t.*******@web.de> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
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

Nov 28 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by jacob navia | last post: by
3 posts views Thread by R Millman | last post: by
16 posts views Thread by Serdar Kalaycý | last post: by
1 post views Thread by simpsoro | last post: by
3 posts views Thread by gaugust | last post: by
6 posts views Thread by Brian Bischof | last post: by
46 posts views Thread by Ian Boyd | last post: by
1 post views Thread by Johnson | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.