With blocks and debugging

Posted Mon, May 16 2005 15:36 by bill


One of the many little improvements you'll find in Vb.NET 2005, is an improved debugging experience for With blocks.  Prior to this, say in VB.NET 2003, if you hovered over a member inside a with block, you'd get the type declaration in the tooltip, not it's current value.  Cory  thought this a significant enough reason not to use With blocks, but I never actually shared that point of view as I tend to rely more on using the locals window or the watch windows.  But the good news is that is no longer an issue, now we can all happily enjoy the goodness With blocks bring with them !!

Filed under: ,