For use by consumers in scripted languages (JavaScript, Java, Python,
Perl, …).
@note C/C++ consumers who are planning to use the nsIDebug interface with
the “@mozilla.org/xpcom;1” contract should use NS_DebugBreak from xpcom
glue instead.
Show an assertion and trigger nsIDebug.break().
aStr | assertion message |
aExpr | expression that failed |
aFile | file containing assertion |
aLine | line number of assertion |
Show a warning.
aStr | warning message |
aFile | file containing assertion |
aLine | line number of assertion |
Request to break into a debugger.
aFile | file containing break request |
aLine | line number of break request |
Request the process to trigger a fatal abort.
aFile | file containing abort request |
aLine | line number of abort request |