<DebugObject>

JavaScript: lz.DebugObject
extends <view> » <node> » lz.Eventable »
DebugObject is a base class for all the other classes in LZUnit that supports the debugging of LZUnit itself. Each subclass overrides the debugFields and _dbg_typename methods. debugFields should return an array of the fields of the class that should be printed when debugging. _dbg_typename should return a string that is the descriptive name of the class for debugging.

Attributes

Name Type (tag) Type (js) Default Category
debugWrite expression any   read/write
  whether or not to emit debugging statements

Methods

construct()
DebugObject.construct(parent, args);
Parameter Name Type Description
parent    
args    

jsTrue()
DebugObject.jsTrue(condition);
Parameter Name Type Description
condition    

xmlequals()
DebugObject.xmlequals(x1, x2);
Parameter Name Type Description
x1    
x2    

xmlstringequals()
DebugObject.xmlstringequals(str1, str2);
Parameter Name Type Description
str1    
str2    

Methods inherited from lz.Eventable

destroy, setAttribute

Events

Events inherited from <node>

onconstruct, ondata, oninit

Events inherited from lz.Eventable

ondestroy