Partilhar via


EVALFLAGS

Specifies flags that control expression evaluation.

enum enum_EVALFLAGS {
   EVAL_RETURNVALUE = 0x0002,
   EVAL_NOSIDEEFFECTS = 0x0004,
   EVAL_ALLOWBPS = 0x0008,
   EVAL_ALLOWERRORREPORT = 0x0010,
   EVAL_FUNCTION_AS_ADDRESS = 0x0040,
   EVAL_NOFUNCEVAL = 0x0080,
   EVAL_NOEVENTS = 0x1000
};
typedef DWORD EVALFLAGS;
public enum enum_EVALFLAGS {
   EVAL_RETURNVALUE = 0x0002,
   EVAL_NOSIDEEFFECTS = 0x0004,
   EVAL_ALLOWBPS = 0x0008,
   EVAL_ALLOWERRORREPORT = 0x0010,
   EVAL_FUNCTION_AS_ADDRESS = 0x0040,
   EVAL_NOFUNCEVAL = 0x0080,
   EVAL_NOEVENTS = 0x1000
}

Members

  • EVAL_RETURNVALUE
    Specifies that the return value, if any, be evaluated.

  • EVAL_NOSIDEEFFECTS
    Specifies that side effects not be allowed.

  • EVAL_ALLOWBPS
    Specifies stopping on breakpoints.

  • EVAL_ALLOWERRORREPORT
    Specifies error reporting to the host to be allowed. Primarily used for expression evaluation in script in Internet Explorer.

  • EVAL_FUNCTION_AS_ADDRESS
    Forces functions to be evaluated as addresses, instead of invoking the function.

  • EVAL_NOFUNCEVAL
    Prevents function from being evaluated. For example, consider the int token in the expression myExpression(int) + 10. This function can be correctly evaluated as an address, but not as a value.

  • EVAL_NOEVENTS
    Flag to indicate that events that occur during the expression evaluation should not be sent to the session debug manager (SDM) or to the IDE.

Remarks

These flags are passed as an argument to the IDebugExpression2::EvaluateAsync and IDebugExpression2::EvaluateSync methods.

These flags may be combined with a bitwise OR.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Enumerations (Visual Studio Debugging)

IDebugExpression2::EvaluateAsync

IDebugExpression2::EvaluateSync