Command for viewing variables in windbg

Source: Internet
Author: User

Command

================

DV

DISPLAY variable.

 

DV/I

View local variables and display the types and parameter types of symbols.

 

DV/V

View local variables and display the storage location of the variables.

 

DV/V variablename

Name of the variable to be viewed

 

DV 02 sample! Gglo *

DV commands can contain wildcards to view variables with certain naming patterns.

Example:

 

DT

The abbreviation of display type. when the type of a variable is a composite type, such as a struct or class, the DV command only displays the address of the variable. the dt command can parse a piece of memory according to a certain data type. The data type must be passed to the DT command as a parameter.

 

DT kbtest 0x000cff0c

Explain a memory address according to a type and display it.

 

DT 02 sample! GGlobal

The type of the parsed object when the DT command displays the memory block.

Example:

 

The following example illustrates how to derive the type of a vftable from a vftable.

 

References:

<AWD>

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.