SIGN UP MEMBER LOGIN:    
ARTICLE

Introduction to Visual Studio 2010 DataTips Pinning

Posted by Sateesh Arveti Articles | Visual Studio 2010 July 27, 2010
In this article, we will look into new feature of VS 2010 called as DataTips pinning.
Reader Level:

In this article, we will look into new feature of VS 2010 called as DataTips pinning. This feature is available in all editions of VS 2010. DataTips is a nice feature helpful while debugging an application. It works only in break mode to view contents of a variable within current execution scope. A DataTip appears in source code window, when you place a mouse over a variable in current scope and it disappears on mouse out. In VS 2010, we can pin a DataTip so that it remains open and sticks to a specific location in source code. We can drag a DataTip to any location within source code window. To pin a DataTip, right click on a variable and click Pin to Source as shown below:

1.gif
  
A pinned DataTip closes, when debugging session ends or clicking on close icon. We can expand members of variable like array or object by clicking + sign before variable name in DataTip.

Unpinned DataTip:

2.gif
 
When we click on unpin a DataTip, it will get floated above any open windows. We can close all DataTips by clicking Debug menu --> Clear All DataTips. Similarly, we can import/export DataTips using Debug menu as shown below:

3.gif
 
We can view contents behind a DataTip, by making it transparent temporarily by holding Ctrl key. This applies to DataTips that are not pinned or floating.

So, using this feature we can pin a DataTip to a specific location in source window or make it float on top of all open windows. I hope this article will be helpful for all.

Login to add your contents and source code to this article
share this article :
post comment
 
Team Foundation Server Hosting
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
    Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Become a Sponsor