DkmEvaluationFlags Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Flags which effect how an input expression should be parsed, compiled or displayed.
This enumeration supports a bitwise combination of its member values.
public enum class DkmEvaluationFlags
public enum class DkmEvaluationFlags
enum DkmEvaluationFlags
[System.Flags]
public enum DkmEvaluationFlags
[<System.Flags>]
type DkmEvaluationFlags =
Public Enum DkmEvaluationFlags
- Inheritance
-
DkmEvaluationFlags
- Attributes
Fields
| Name | Value | Description |
|---|---|---|
| None | 0 | Input expression should be treated with the default semantics. |
| TreatAsExpression | 1 | The text is an expression (not a statement). |
| TreatFunctionAsAddress | 2 | The text might contain function name/parameter signatures, and the expression is to be parsed [and later evaluated] as an address. |
| NoSideEffects | 4 | The expression evaluator should not evaluate expressions which have side effects, such as assignment statements. The debugger UI will use this flag when the expression needs to be treated with care, such as in data tips. It is up to the expression evaluator to decide what is considered a side effect for their language. |
| NoFuncEval | 8 | Expression evaluators should not attempt a func-eval. If a component mistakenly issues a func-eval with this flag set then the func-eval will not be honored. |
| DesignTime | 16 | The expression evaluation is happening in the context of design-time expression evaluation (DTEE). In this scenario, the user enters text in the immediate window in design mode. |
| AllowImplicitVariables | 32 | Allow the variables to be declared as part of the expression. |
| ForceEvaluationNow | 64 | Force evaluation to occur now. Somebody is requesting it (like the user). Since this flag only impacts the display of the expression, it may be varied between compile and display. |
| ShowValueRaw | 128 | Display the type members as is without the aid of a native visualizer. |
| ForceRealFuncEval | 256 | If the runtime in question supports interpreted func-evaluation, this flag means to perform real func-evaluations rather than interpreting any function calls in the process. |
| HideNonPublicMembers | 512 | Expression evaluators should hide non-public members. |
| NoToString | 1024 | Expression evaluators should call ToString method if flag is not present. |
| NoFormatting | 2048 | Indicates that the expression evaluator should not calculate the Value or EditableValue properties of the returned DkmEvaluationResult. This flag is used as a performance optimization in situations where the value and editable value are not used and do not need to be computed. When this flag is set, the resultant evaluation result, if successful, will have the empty string for its value and editable value. |
| NoRawView | 4096 | Indicates that when C++ debugging and natvis is used to visualize an object, that the [Raw View] node should be omitted. This flag may be used as a performance optimization in situations where it is not needed. |
| NoQuotes | 8192 | Formatter should display the result as a string without quotation marks. |
| DynamicView | 16384 | The result should be displayed in Dynamic View. |
| ResultsOnly | 32768 | Only the members that contain the query result should be displayed. |
| NoExpansion | 65536 | The value will not not be expanded. If calculating whether a value can be expanded is expensive, this flag indicates that determining the expandability is not required. |
| EnableExtendedSideEffects | 131072 | Enables additional side effects when a value is explicitly refreshed that may have been suppressed during the initial evaluation. |
| FilterToFavorites | 262144 | Expansions containing favorites should be filtered to only those items. |
| UseSimpleDisplayString | 524288 | Auto generated display strings for expansions with favorites should not include field names. |
| IncreaseMaxStringSize | 1048576 | A hint to the expression evaluator that it should increase the maximum size of strings. Expression evaluators may default to truncating large strings in order to limit the amount of memory used by the debugger process. This flag is a hint to increase the length at which strings are truncated, at the cost of higher memory consumption. |