How to: Use the debugger Variable Window to set the format used to display values in the debugger window to decimal or hexadecimal

Source: Internet
Author: User
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
  1. Right-click in the debugger window.

  2. In the shortcut menu, set or clear the hexadecimal display ".

    The number format selected here affects all debugger windows.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.