Class Index | File Index

Classes


Class Tracer

Tracer
Defined in: Hermes.js.

Class Summary
Constructor Attributes Constructor Name and Description
<private>  
Tracer()
Tracer is the class that start the automatic tracer for the element that you want to trace Is possible to trace more than one object at the same time.
Field Summary
Field Attributes Field Name and Description
 
aTracing is the array where all the trace elements will be saved to remove it if needed
 
nIndentCount is the number of indents.
 
rNativeCode is the regular expression that returns if the content is native code or not.
Method Summary
Method Attributes Method Name and Description
 
addTracing(oTracing)
addTracing adds a new element to trace
 
resetTracing removes all the tracable elements
 
trace(oConstructor, sMethodName)
trace gets the method to trace and wraps his content
 
traceAll(oRoot, bRecurse)
traceAll trace all the methods in oRoot to be tracable
 
untraceAll removes all the tracable elements and restore the original object
Class Detail
<private> Tracer()
Tracer is the class that start the automatic tracer for the element that you want to trace Is possible to trace more than one object at the same time.
Field Detail
aTracing
aTracing is the array where all the trace elements will be saved to remove it if needed

nIndentCount
nIndentCount is the number of indents. Missing modifycation - maybe in the next version -

rNativeCode
rNativeCode is the regular expression that returns if the content is native code or not.
Method Detail
addTracing(oTracing)
addTracing adds a new element to trace
Parameters:
oTracing

resetTracing()
resetTracing removes all the tracable elements

trace(oConstructor, sMethodName)
trace gets the method to trace and wraps his content
Parameters:
oConstructor
sMethodName
Returns:
{mixed} Depends of the execution

traceAll(oRoot, bRecurse)
traceAll trace all the methods in oRoot to be tracable
Parameters:
oRoot
bRecurse

untraceAll()
untraceAll removes all the tracable elements and restore the original object

©2011
Documentation generated by JsDoc Toolkit 2.4.0 on Sat Oct 08 2011 19:55:27 GMT+0200 (CEST)