No one else is having this problem?
> Debug.WriteLine does not show in VS Output;Debug window?
>
[quoted text clipped - 3 lines]
>
> Schneider
Matt F - 28 Aug 2007 19:36 GMT
Are you sure the actual Debug.WriteLine line is being hit?
Can you post your Debug statement?
schneider - 28 Aug 2007 20:25 GMT
yes, I have stepped through the code and watched.
> Are you sure the actual Debug.WriteLine line is being hit?
>
> Can you post your Debug statement?
Matt F - 29 Aug 2007 22:05 GMT
Can you post the code that exhibits this? I'm guessing it's a coding issue
and not an IDE issue.
Is it possible that you have redirected your trace output using
TextWriterTraceListener or something similar? The trace output also
affects the debug output. See my article about redirecting trace output
at http://www.helixoft.com/blog/archives/20
You can easily test whether it is your project or IDE setting. Create
very simple new project and try Debug.WriteLine with it. If it doesn't
work, it is probably some IDE setting. If it works, it should be the
project itself causing the problem (e.g. redirecting).

Signature
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code
schneider - 30 Aug 2007 16:06 GMT
Yes, I have created a simple project and it still does not work. I will take
a look at your artical.
Thanks,
Schneider
> Is it possible that you have redirected your trace output using
> TextWriterTraceListener or something similar? The trace output also
[quoted text clipped - 5 lines]
> is probably some IDE setting. If it works, it should be the project itself
> causing the problem (e.g. redirecting).
schneider - 30 Aug 2007 16:59 GMT
That did not help me any, I am aware of the the condition attributes.
I think the listeners are getting hyjack somehow, either by me or something
else...
Schneider
> Is it possible that you have redirected your trace output using
> TextWriterTraceListener or something similar? The trace output also
[quoted text clipped - 5 lines]
> is probably some IDE setting. If it works, it should be the project itself
> causing the problem (e.g. redirecting).
Peter Macej - 30 Aug 2007 17:06 GMT
Try to open Immediate window (Debug - Windows - Immediate). It is very
possible that you have checked the option "Redirect all Output Window
text to the Immediate Window" in Tools - Options… - Debugging - General
options. If not, check all options under Debugging.

Signature
Peter Macej
Helixoft - http://www.helixoft.com
VSdocman - Commenter and generator of class documentation for C#, VB
.NET and ASP .NET code
schneider - 05 Oct 2007 05:05 GMT
Problem was this line of code:
Trace.Listeners.Clear()
Apparently I was deleting listeners which were not mine...
Thanks,
Schneider
> Try to open Immediate window (Debug - Windows - Immediate). It is very
> possible that you have checked the option "Redirect all Output Window text
> to the Immediate Window" in Tools - Options. - Debugging - General
> options. If not, check all options under Debugging.