Did you know… You can redirect debug messages to the output window? – #198

Depending on your environment settings (like the Visual Basic Default Settings), you may have noticed that the Output Window’s debug content is redirected to the Immediate window instead.  Or maybe you want the output window’s debug content to go to the Immediate window.

Go to Tools – Options – Debugging – General page.  Under this page, you’ll find the option Redirect all Output Window text to the Immediate Window.

Redirect output window debug to Immediate window option

To illustrate, let’s say you have this option enabled, and you hit an assert.  You’ll see the assert info in the Immediate window, and not in the output window.

Assert shown in the Immediate Window

Technorati Tags: VS2005Tip,VS2008Tip

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>