WatchExpression.UseScopingContext

Syntax

WatchExpression.UseScopingContext

Data Type

Boolean

Purpose

Specifies if TestStand attaches a watch expression to a sequence context that matches the scoping properties of the watch expression. While the attached sequence context is valid, the watch expression uses the sequence context to evaluate the watch expression, even if the thread adds additional call stack levels by invoking subsequences.

Remarks

If this property is set, TestStand automatically caches the scoping context when a thread enters a specified scope. Otherwise, use the active context to evaluate the watch expression.

This property defaults to False .

See Also

WatchExpression.ExecutionScope

WatchExpression.GetScopingContext

WatchExpression.SequenceFileScope

WatchExpression.SequenceScope