One of the things I really love to use when debugging in VS2008 is the ability to have breakpoints write messages to the Output window. This doesn’t sound like much but there are several advantages to this. You can have messages printed to the Output window without having to re-compile or add any code. And you can also have execution continue without stopping on the breakpoint.
So let’s start with the following code (actual text is at the end of this post):