I want to see System.Diagnostics.Debug output in DebugView even when debugging i

First, the DebugView program can be downloaded from
http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx

This is the tool of choice for viewing output from System.Diagnostics.Debug.Write("message"); If you build a program that has these write calls in debug mode, and then run it directly from Windows (not from within VS) then you will see the Debug.Write messages in the DebugView window.

Can not recall where I read this, but it is documented that when running in VS2005, output from Debug.Write() is redirected to the output window in VS.

I did learn of a setting in Tools | Options | Debugging | General, called "Redirect all Output Window text to the Immediate Window". This does exactly what it says.

However with or without that option, when running from VS, the Debug.Write() output will still not go to the DebugView program, which is where I want it to go.

VS is some how intercepting the calls to Debug.Write() and preventing them from going to DebugView. I want to stop VS from doing this.

[1048 byte] By [guest] at [2008-2-27]