The watch window still gets updated even if it's not open/visible. And script expressions can also get evaluated in other situations (mouse hovering over a field with an expression, etc.). Another way to do that more reliably would be to use Run Script steps instead of script expressions.
|