07.35 The Watch Window: Adding Watches from Variable Windows

MENU

[Context Menu] | Add Watch

COMMAND

Debug.AddWatch

VERSIONS

2005, 2008, 2010

CODE

vstipTool0109

The Locals, Autos, Watch, and QuckWatch windows are all known, collectively, as the Variable windows. Did you know that every Variable window supports the Debug.AddWatch command? This tip provides some examples.

Locals Window

image with no caption

Autos Window

image with no caption

QuickWatch

image with no caption

Watch [1, 2, 3, 4] Window

This is one you might not ...

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.