.typeopt (Set Type Options)

The .typeopt command sets or displays the type options.

.typeopt +Flags 
.typeopt -Flags 
.typeopt +FlagName 
.typeopt -FlagName 
.typeopt 

Parameters

+
Causes the type option(s) specified by Flags or FlagName to be set.

-
Causes the type option(s) specified by Flags or FlagName 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 unsigned 16-bit integer values in all Watch windows and the Locals window as having UNICODE data type.

0x2
Displays signed 32-bit integer values in all Watch windows and the Locals window as unsigned integers in the default radix.

0x4
Displays signed integers of all sizes in all Watch windows and the Locals window as unsigned values 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. FlagName can be any one of the following strings (there is no default):

uni
Displays unsigned 16-bit integer values in all Watch windows and the Locals window as having UNICODE data type. (This has the same effect as 0x1.)

longst
Displays signed 32-bit integer values in all Watch windows and the Locals window as unsigned integers in the default radix. (This has the same effect as 0x2.)

radix
Displays signed integers of all sizes in all Watch windows and the Locals window as unsigned values 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

Item Description
Modes User mode, kernel mode
Targets Live, crash dump
Platforms All

Remarks

Without any arguments, .typeopt displays the current symbol options.

To change the default radix, use the n (Set Number Base) command.