Click to Rate and Give Feedback
MSDN
MSDN Library
Diagnostics
Debuggers
Debugger Reference
Debugger Commands
Meta-Commands
 .expr (Choose Expression Evaluator)
Debugging Tools for Windows
.expr (Choose Expression Evaluator)

The .expr command specifies the default expression evaluator.

Syntax

.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

ModesUser mode, kernel mode
TargetsLive, crash dump
PlatformsAll

Comments

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.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker