07.16 DataTip Value from the Last Debug Session

VERSIONS

2010

CODE

vstipDebug0012

Ever forget the values of variables you were just debugging? This is one of the coolest features of the DataTips in Visual Studio 2010. Let’s assume that you have a pinned DataTip in your code (see vstipDebug0005, 07.12 Pin a DataTip to Source Code, on page 305):

image with no caption

Now you stop debugging. Even though you are not debugging, you can still view the value from the last debug session by simply resting your mouse pointer over the pin in the margin:

image with no caption

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.