Console Interface
Beginning with Firefox 4, the old Error Console has been deprecated in favor of the new, improved Web Console. The Web Console is something of a heads-up display for the web, letting you view error messages and other logged information. In addition, there are methods you can call to output information to the console, making it a useful debugging aid, and you can evaluate JavaScript on the fly.
The Web Console won't replace more advanced debugging tools like Firebug; what it does give you, however, is a way to let remote users of your site or web application gather and report console logs and other information to you. It also provides a lightweight way to debug content if you don't happen to have Firebug installed when something goes wrong.
devtools.errorconsole.enabled
preference to true
and restarting the browser.Methods
Code void assertCondition(bool condition, Object arg) #
void assertCondition(bool condition, Object arg);
Code void groupEnd() #
void groupEnd();
Fields
Code final MemoryInfo memory #
final MemoryInfo memory;
Code final List<ScriptProfile> profiles #
final List<ScriptProfile> profiles;
This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.