Examining a Variable or Expression

Examine how a variable or expression is resolved in the debugger.

Use one or more of these methods to examine variables and expressions. Unless otherwise noted, the methods are available only after you start the debugger and break execution:
Notes: Variables that are declared. or declared and initialized, but not used in a .NET application are discarded when the application is deployed to .NET. As a result, information about unused variables does not appear in the debugger.

Backslashes (\) in expressions appear as double blackslashes (\\) in QuickWatch, DataTip, and Watch windows. The first backslash is an escape character. It indicates that the second backslash is text in the script rather than a control character.