You can monitor an expression that uses the following operators only:
| Operator | Coded as |
|---|---|
Global
scope resolution |
:: a |
Class
or namespace scope resolution |
a:: b |
| Subscripting | a[b] |
| Member selection | a.b or a->b |
| Size | sizeof a or sizeof (type) |
| Logical not | ! a |
| Ones complement | ~ a |
| Unary minus | - a |
| Unary plus | + a |
| Dereference | * a |
| Type cast | ( type ) a |
| Multiply | a * b |
| Divide | a / b |
| Modulo | a % b |
| Add | a + b |
| Subtract | a - b |
| Left shift | a << b |
| Right shift | a >> b |
| Less than | a < b |
| Greater than | a > b |
| Less than or equal to | a <= b |
| Greater than or equal to | a >= b |
| Equal | a == b |
| Not equal | a != b |
| Bitwise AND | a & b |
| Bitwise OR | a | b |
| Bitwise exclusive OR | a ^ b |
| Logical AND | a && b |
| Logical OR | a || b |
| Assignment expressions | a = b, a+=b, a-=b,
etc. Note: When you monitor an assignment expression, it will be evaluated
immediately, however this new assignment expression monitor will be
disabled and not updated as you debug. The monitor cannot be permanently
enabled, however, you can evaluate it at any time by right-clicking
the expression and selecting Evaluate now.
|
| Prefix and Postfix operators | ++a, a++, --a,
and a-- Note: When you monitor an expression containing
a prefix or postfix operator, it will be evaluated immediately, however
it will be disabled and not updated as you debug. The monitor cannot
be permanently enabled, however, you can evaluate it at any time by
right-clicking the expression and selecting Evaluate now.
|