Rapid diagnosis of javascript errors and their correction
JavaScript can add lot of functionality to your web page or application. However, complex scripts may stop working for some reason which may not be very easy to spot given that the code runs into 100 lines. In such circumstances, Firebug can provide instant relief by letting you know where exactly is the problem. Firebug is one of the few essential Firefox addons a web developer should not be without. Firebug is also available for Internet Explorer, Opera and Safari as Firebug Lite.
Examples of javascript errors reported by Firebug:
Observe that it reports the exact line number, character position and a very useful non-generic description that pin-points the error.
Other uses of Firebug can be fount on Firebug’s homepage.
Remember to use Firebug only on selected web sites such as localhost or 127.0.0.1 because it consumes lot of CPU cycles to assess a web page which makes abundant use of javascript(and AJAX). Eg: Cpanel control panels, TinyMCE javascript bases WYSIWYG editor, etc. Your CPU uage may increase to as high as 100% and your machine may freeze momentarily. So use Firebug judiciously. Always disable it when not needed.


I have been using that plugin for FF.
But I didn’t knew that it eats up CPU. I noticed this while accessing Orkut. Thanks for your suggestion.
blueshift
6 Jun 08 at 5:55 pm