IgeEngine

Method: traceSet

Sets a trace up on the setter of the passed object's specified property. When the property is set by any code the debugger line is activated and code execution will be paused allowing you to step through code or examine the call stack to see where the property set originated.
traceSet (Object obj, String propName, Number sampleCount, Function callbackEvaluator)
  • Objectobj The object whose property you want to trace.
  • StringpropName The name of the property you want to put the trace on.
  • NumbersampleCount The number of times you want the trace to break with the debugger line before automatically switching off the trace.
  • FunctioncallbackEvaluator Optional callback that if returns true, will fire debugger. Method is passed the setter value as first argument.
© Copyright 2013 Irrelon Software Limited. All Rights Reserved. UK Registered Company Number: 07522767
Isogenic (ī´sōjen´ik): Adj originating from a common source; possessing the same genetic composition.
Strange Things Happen at the One Two Point