views:

217

answers:

2

A friend of mine claims that calls to Debug.Print() as well as first-chance exception notifications appear in the Immediate Window for him. I found this surprising; for me they only appear in the Output Window.

MSDN claims (here) that you can implicitly enable them in the Immediate Window by explicitly disabling them in the Output Window. But that doesn't work for me; the messages are not shown in either window if I disable this. The Immediate Window remains empty.

How do I get the Immediate Window to display this information?

+4  A: 

There's a setting that will redirect all output to the immediate window. Tools > Options > Debugging > Redirect all Output Window text to the Immediate Window.

Brian Rasmussen
"There's a setting". Uhm, right. Very helpful. Thanks.
Timwi
Give me a break, I was looking it up for you!
Brian Rasmussen
Thanks. Next time, look it up first, *then* post.
Timwi
Next, time you should consider giving people who is trying to help you the benefit of the doubt.
Brian Rasmussen
Since all the settings are in the Options menu, I figured you would be able to find it yourself, but I updated the answer with the specifics just in case. You really feel that this still warrants a down vote?
Brian Rasmussen
+1 to @Brian and -1 to @Timwi for being ungrateful.
klausbyskov
+4  A: 

in VS2008

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

gbogumil
Thanks, that's the correct answer.
Timwi