Can somebody explain why my Debug.Write stops working for no apparent reason - no output is visible? This has happened to me many times in Visual Studio 2008 (never on 2005), on both Windows XP, Windows 2003 Server and Windows 7.
It is per project and at the same time (on Windows 2003 server), I have projects where Debug.Write works and does not work.
Currently, on Windows 7 I have no debug output at all. I create a new windows forms project, put Debug.Write("bla") in Form_Load run it, and nothing happens in Output window. Same behaviour is in both vb.net and c# projects.
UPDATE: I just found out that my debug output is being shown, but in my Immediate window, instead of output. Why???
UPDATE: In Visual Studio options, there is a setting under Debugging - General: Redirect all Output window text to Immediate window.
Why was this checked by default, I have no idea...