New features to C# in Whidbey

Came across this older article, while looking up details on the new pragma keyword, covering some of the new Whidbey features in C#.  Amongst the usual things that are discussed (generics, refactoring), I'm not sure they give enough credit to the enhanced debugging experience.

In Whidbey, they have richer conditional breakpoint support which ROCKS! (Whidbey: You can set a breakpoint as usual, right click on it, and choose "condition".) In Everett, you could check if (m.Msg == 0x00F) by drilling into the breakpoint properties from the breakpoints window, but it would bail out on you for more complicated expressions (say if you asked (control is Form)). 

Kudos to the C# team for making our debugging much richer.


Comments (0)

Skip to main content