watch
Sets a watch point for an expression which stops execution of your program whenever the value of the expression changes.
Syntax
watch expression [boolean-expression]
- expression is the expression to watch.
- boolean-expression is an optional boolean expression.
Usage
The watch point stops the program execution when the value of the expression changes.
If boolean-expression is provided, the watch point stops the execution of the program if the expression value has changed and the boolean-expression evaluates to TRUE.
Example
(fgldb) watch i if i >= 3