tracep
tracep( [s_property...|t] ) =>g_result
Description
Turns on tracing of assignments to specified properties. This is an nlambda function.
If t is passed in, all properties are traced.
Passing t as an argument to the tracep function is allowed only if you set the internal system variable traceTEnable to t by typing sstatus(traceTEnable t)in the CIW.
If no argument is given, all properties being traced are returned. tracep prints the evaluated value assigned to the property and its previous value. The output port for tracing is ptport, which defaults to poport.
Arguments
Value Returned
Examples
tracep myProp
putprop( 'foo 5 'myProp)
|Property myProp on foo set to 5, was nil => 5
untracep( myProp ) => ( myProp )
Related Topics
Return to top