Visual-Studio – Displays exception information and debug.print () messages in the immediate window

A friend of mine claimed that calling Debug.Print() and the first chance exception notification appeared in the immediate window. I found this surprising; for me, they only appeared In the output window.

MSDN states (here) you can immediately enable them in the immediate window by explicitly disabling them in the output window. But that doesn’t work for me; if I Disabling this message will not display the message in any window. The immediate window is still empty.

How to make the immediate window display this information?

In VS2008 and VS2015 (2010 or 2013 are not checked, but they may be the same) < p>

Tools->Options->Debugging->Redirect all Out Window text to the immediate window

A friend of mine claimed to call Debug .Print() and the first-chance exception notification appear in the immediate window. I find this surprising; for me, they only appear in the output window.

MSDN statement( here) You can immediately enable them in the immediate window by explicitly disabling them in the output window. But that didn’t work for me; if I disable this message, the message will not be displayed in either window. The immediate window is still Empty.

How to display this information in the immediate window?

In VS2008 and VS2015 (No check for 2010 or 2013, but they may be the same)

Tools -> Option ->Debug -> Redirect all Out Window text to the immediate window

Leave a Comment

Your email address will not be published.