Readonly
assertionThe number of assertions since process start.
Readonly
isWhether XPCOM was compiled with DEBUG defined. This often correlates to whether other code (e.g., Firefox, XULRunner) was compiled with DEBUG defined.
Readonly
isWhether a debugger is currently attached. Supports Windows + Mac
Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Generated using TypeDoc
Note
C/C++ consumers who are planning to use the nsIDebug2 interface with the "@mozilla.org/xpcom;1" contract should use NS_DebugBreak from xpcom glue instead.