.typeopt (Set Type Options)
The .typeopt command sets or displays the type options.
Syntax
.typeopt +Flags
.typeopt –Flags
.typeopt +FlagName
.typeopt -FlagName
.typeopt
Parameters
- +
- Causes the type options specified by Flags to be set.
- -
- Causes the type options specified by Flags to be cleared.
- Flags
- Specifies the type options to be changed. Flags can be a sum of any of the following values (there is no default):
- 0x1
- Displays values in all Watch windows and the Locals window as having UNICODE data type.
- 0x2
- Displays values in all Watch windows and the Locals window as having LONG data type.
- 0x4
- Displays integers in all Watch windows and the Locals window in the default radix.
- 0x8
- Causes the debugger to choose the matching symbol with the largest size when the Locals window or Watch window references a symbol by name but there is more than one symbol that matches this name. The size of a symbol is defined as follows: if the symbol is the name of a function, its size is the size of the function in memory. Otherwise, the size of the symbol is the size of the data type that it represents.
- FlagName
- Specifies the type options to be changed. Flag can be any one of the following strings (there is no default):
- uni
- Displays values in all Watch windows and the Locals window as having UNICODE data type. (This has the same effect as 0x1.)
- longst
- Displays values in all Watch windows and the Locals window as having LONG data type. (This has the same effect as 0x2.)
- radix
- Displays integers in all Watch windows and the Locals window in the default radix. (This has the same effect as 0x4.)
- size
- Causes the debugger to choose the matching symbol with the largest size when the Locals window or Watch window references a symbol by name but there is more than one symbol that matches this name. The size of a symbol is defined as follows: if the symbol is the name of a function, its size is the size of the function in memory. Otherwise, the size of the symbol is the size of the data type that it represents. (This has the same effect as 0x8.)
Environment
Modes |
user mode, kernel mode |
Targets |
live, crash dump |
Platforms |
all |
Comments
Without any arguments, .typeopt displays the current symbol options.
Build machine: CAPEBUILD