Selected watch expression invalid
It isn't always possible to select a valid watch expression. This error has the following causes and solutions:
- You chose the Instant Watch command, but the selected expression isn't a valid expression. For example, you can't watch a comment or a Sub procedure call.
Select the expression in such a way that it is valid, or choose Add Watch and type in a valid expression.
- The watch expression must have code syntax corresponding to the locale of the project that defines the expression being watched.
Rewrite the expression in a way that is valid for the locale.
For additional information, select the item in question and press F1 (in Windows) or HELP (on the Macintosh).