Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

watch

watch( 
[ s_symbol...] 
) 
=> t / l_watchedVars / nil

Description

Sets watchpoints on the specified variables. If watch() is called without arguments, it returns the list of variables being watched. If no variables are being watched, it returns nil.

Arguments

s_symbol

The variables to be watched.

Value Returned

t

Variables successfully marked for watching.

l_watchedVars

List of variables being watched.

nil

No variables are being watched.

Examples

watch(x) => t
watch()=> (x)
watch() => nil

Related Topics

Debug Functions


Return to top
 ⠀
X