sylvain + whissell = geek

From C# to pin sharp (and everything in between).

Visual Studio 2008 Breakpoints – Writing To The Output Window

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):

Continue reading

Visual Studio 2008 – Displaying Types & Members Dropdowns When Editing C# Files

I usually don’t have the Types & Members dropdowns turned on when editing C# files in Visual Studio but today, while researching something on ASP.Net, I needed to turn these back on.

Here’s what I’m talking about (the box on the left is for the Types and the box on the right is for the Members):

image

For the life of me, I couldn’t find where to turn these back on again.  I completely forgot that this is actually called the Navigation Bar and it can be found in Tools | Options | Text Editor | C# …

image