This is an archived page. It's not actively maintained.


Adds access to additional information in debug builds of Mozilla code by expanding upon the features in nsIDebug
Gecko 1.9.2
Inherits from: nsIDebug Last changed in Gecko 1.9.2 (Firefox 3.6 / Thunderbird 3.1 / Fennec 1.0)


Attribute Type Description
assertionCount long The number of assertions since process start. This is normally zero in release builds, but does include calls to nsIDebug.assertion(). Read only.
isDebugBuild boolean Whether XPCOM was compiled with DEBUG defined. This often correlates to whether other code (for example, Firefox, XULRunner) was compiled with DEBUG defined. Read only.

See also