Excessive logging in the Output window? Here's how to trim things down a bit
Saturday, August 21, 2010 7:25 PM
Are you seeing just WAY too much logged to the Output window when you debug into your code? Read on for a quick trick to trim things back to help you focus on just your code.
Ever notice Visual Studio is "chatty" in the Output Window?
If you're like me, you would like VS to trim back the chaff and just show me MY Console.WriteLine() calls, and ya, maybe the Exceptions would be a good idea too. If you look at the image above, you'll notice what happens when you right mouse click inside the Output window. You'll see some options at the bottom. That's the trick of this blog! Uncheck the ones you don't want to be bothered with seeing and BINGO! You're now able to focus again on your task at hand.
You can see two things from the image above, you're only looking at my Console.WriteLine() calls, AND, just as importantly, you can easily bring back those other exceptions messages if/when you decide you need to see them.
Now that you know how to focus on your own code outputs again, it's time to grab a coffee and get coding!