Visual Studio Debugger How to: Use the debugger Variable Window
The Visual Studio debugger provides several windows, collectively referred to as variable windows, which are used to display variable information during debugging.
Each Variable Window is a grid window, which contains three columns: "name", "value", and "type ". The "name" column displays the names of variables automatically added in the "Auto" and "local variables" windows.
In the Monitoring window, you can add your own variables or expressions in the name column. For more information, see How to monitor expressions in the debugger.
The "value" and "type" columns show the values and Data Types of the corresponding variable or expression results.
You can edit the value of a variable in the value column. For more information, see How to: Edit values in the variables window.
Display Variable Window
Select "window" from the "debug" menu, and then select the name of the Variable Window to be displayed, they are "automatic", "local variables", "monitoring", or from wattings to wat44.
These menu items cannot be accessed or displayed in design mode. To display these menu items, the debugger must be in running or interrupted mode.
Set the digit format to decimal or hexadecimal
You can set the format used to display values in the debugger window to decimal or hexadecimal.
Change number format
Right-click in the debugger window.
In the shortcut menu, set or clear the hexadecimal display ".
The number format selected here affects all debugger windows.