Library globals

Function globals . debug . addTracerToFunc

View source

addTracerToFunc - wrap a function with a debug breakpoint for tracing
f:        function to wrap with a tracer
label:    description, passed to breakpoint

WARNING: call() currently breaks the call stack which affects backtrace and 
the use of caller(i>0). Do not use addTracerToFunc on functions which rely on
caller (which is probably bad coding style, but allowed).

Parameters

f

label