Set next statement

I haven’t had a chance to post much recently, but I ran into a nice mail on an internal alias that listed the restrictions of set next statement.  Set next statement is a very powerful feature of the debugger that allows the IP (instruction pointer) to be moved.  It’s particularly useful when combined with Edit…

6

Extern alias walkthrough

Extern aliases is a feature that was introduced in VS 2005 that I don’t believe is being used very often.  There are two reasons for this.  First, the feature is somewhat undiscoverable, particularly if you don’t happen to be looking for it.  Second, the feature itself is useful in the somewhat narrow scenario of needing…

13

The dark beauty of function evaluation

A recent post in the Visual C# IDE forum (seems like I start a lot of blogs this way J) got me thinking about function evaluation (“FuncEval”) while debugging.  I don’t think there is any scarier term for a debugger developer – seriously, I’ve seen them cower in fear.  FuncEval is, quite simply, the process…

9

C# XML documentation comments FAQ

Ever since we released the first version of C# 1.0 I’ve received a question or two a month about XML documentation comments.  These are often referred to as ‘doc comments’ for short.  The questions range from the use of doc comments in VS to the recommended schema of the XML.  This post captures a few…

39

Solution navigation

There was a recent post in the Visual C# IDE forum which started me thinking about navigating through a solution in Visual Studio.  The post was basically asking whether it’s possible to quickly navigate to a file in your solution if you know its name.  There are a few different navigational approaches that Visual Studio…

8

C# Express and item template customization

There was an interesting post a while back in the Visual C# IDE forum asking whether or not it was possible to automatically insert company specific information every time that a new file is added to a C# project (specifically in C# Express 2005).  It turns out that it is possible.  The idea is to…

5

Item templates – adding references by default

A recent bug entered via MSDN Product Feedback Center questions the current behavior of add new item with respect to the class template.  In particular, if a class is added to a project then references to System.dll, System.Data.dll, and System.XML.dll are added automatically.  This can certainly be a frustrating experience if the project doesn’t require…

6