Bewerken

Delen via


.expr (Choose Expression Evaluator)

The .expr command specifies the default expression evaluator.

.expr /s masm 
.expr /s c++ 
.expr /q 
.expr 

Parameters

/s masm
Changes the default expression type to Microsoft Assembler expression evaluator (MASM). This type is the default value when you start the debugger.

/s c++
Changes the default expression type to the C++ expression evaluator.

/q
Displays the list of possible expression types.

Environment

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

Remarks

When you use the .expr command without an argument, the debugger displays the current default expression type.

The ?? (Evaluate C++ Expression) command, the Watch window, and the Locals window always use C++ expression syntax. All other commands and debugging information windows use the default expression evaluator.

For more information about how to control which syntax is used, see Evaluating Expressions. For more information about the syntax, see Numerical Expression Syntax.

See also

? (Evaluate Expression)

MASM Numbers and Operators

C++ Numbers and Operators