Alessandro Del Sole's Blog

{ A programming space about Microsoft® .NET® }

  Home :: Contact :: Syndication  :: Login
  63 Posts :: 10 Stories :: 67 Comments :: 85 Trackbacks

News

Your host

This is me! This space is about Microsoft® .NET® and Microsoft® Visual Basic development. Enjoy! :-)

These postings are provided 'AS IS' for entertainment purposes only with absolutely no warranty expressed or implied and confer no rights.

Microsoft MVP

My MVP Profile

I'm a VB!

Watch my interview in Seattle

My new book on VB 2010

Pre-order my book about VB 2010 on Amazon My upcoming book "Visual Basic 2010 Unleashed" can be pre-ordered on Amazon. Click the cover!

Your visits

Windows Live Alerts

Vsi Builder 2008

My tool for VS 2005/2008 Download Vsi Builder, my dev tool for Visual Studio 2005/2008!

Add me to MSDN Social!

I live here

Messenger me!


Grab this badge here!

CyberInstaller Beta Tester

Download CIS 2008!!

CodePlex download Download my open-source projects from CodePlex!

Search the blog



Article Categories

Archives

Post Categories

.NET Framework

Blogroll

Help Authoring

Microsoft & MSDN

Setup & Deployment

Visual Basic 2005/2008/2010

The data tips feature is available since Visual Studio 2005. When the debugger is in break mode, they allow viewing the content of variables and object by simply passing the mouse pointer over the object we want to analyze. In Visual Studio 2010 this feature has been extended with a new functionality known as sticky data tips. Basically you can create some sticky notes containing your comments that you can keep on the editor area while debugging. Let's see now how it works.

Imagine you have a breakpoint in the code and that you want to show up the data tip on a particular variable. As usual, you will see the well known pop-up window appearing. The good news is that now you can see a small icon representing a sheet on the right side of the data tip:

If you click such sheet, a new sticky data tip will be shown up. It's like a sticky note that you can expand to add any comments you like:

Moreover the data tip's content is updated when the object state changes, as you can see in the following figure where the value of fileExtension has changed from Nothing to "exe":

You can also move sticky data tips with the mouse along the code editor. When you do not need anymore the sticky, you can simply remove it by clicking the closure button on the upper right.

Probably you also understood that this new feature is based on WPF (that empowers the most of the Visual Studio 2010 IDE).

Alessandro

posted on Monday, July 27, 2009 11:21 PM

Feedback

# Sticky data tips in the Visual Studio 2010's debugger | BlogBov 7/29/2009 1:44 AM Pingback/TrackBack
Sticky data tips in the Visual Studio 2010's debugger | BlogBov

# re: Sticky data tips in the Visual Studio 2010's debugger 7/30/2009 12:17 PM dot net 3.5 development
Great Post! Really very useful information is given. Thanks.

# VS 2010 Beta 2 Debugger In-Depth First Look 10/19/2009 6:30 PM John Robbins' Blog
I love all things diagnostics. After installing VS 2010 Beta 2, the first thing I had to look at my favorite

Post Feedback

Title:
Name:
Url:
Comments: 
Codice di sicurezza
Protected by FormShield