From: FAQ server on 10 Jan 2010 19:00 ----------------------------------------------------------------------- FAQ Topic - How do I get my browser to report javascript errors? ----------------------------------------------------------------------- There are debugging tools for many browsers. Learn to use them all. * Windows http://www.fiddlertool.com/fiddler/ Fiddler is an HTTP Debugging proxy (it won't find script errors). Fiddler logs HTTP activity, like Firebug's Net tab, but can be attached to any browser running on Windows. Windows IE Microsoft Script Editor. Included with Visual Studio or Microsoft Word 2003 (discontinued in Office 2007). To enable, ` Tools `, ` Internet Options `, ` Advanced `, and uncheck ` Disable Script Debugging `. After enabling Script Debugging, a ` Script Debugger ` option will appear in the ` View ` menu. http://jibbering.com/faq/ http://www.my-debugbar.com/wiki/IETester/HomePage for testing IE 5.5- IE8. http://jibbering.com/faq/ http://www.my-debugbar.com/wiki/CompanionJS/HomePage ` console ` for IE. _Note:_ For debugging scripts in IE, the Microsoft Script _Editor_ is recommended. However, if not available, the http://www.microsoft.com/downloads/details.aspx?FamilyId=2F465BE0-94FD-4569-B3C4-DFFDF19CCD99&displaylang=en may be somewhat helpful. http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en To report errors: Wait until a little yellow triangle appears at the left end of the status bar, double click on it and, when the error dialog box appears, check the "Always show errors" checkbox it contains. Or, ` Internet Options `, ` Advanced `, deselect ` "Disable Script Debugging" `, select ` "Display a notification ..." `. Firefox ` Tools > Error console ` (` Ctrl ` + ` Shift ` + ` j `). http://getfirebug.com/ https://addons.mozilla.org/en-US/firefox/addon/5369 YSlow analyzes web pages and tells you why they're slow based on Yahoo's rules for high performance web sites. https://addons.mozilla.org/en-US/firefox/addon/1743 Lori or Life-of-request info, is useful for troubleshooting server response and page load time. https://addons.mozilla.org/en-US/firefox/addon/60 https://addons.mozilla.org/en-US/firefox/addon/1201 https://addons.mozilla.org/en-US/firefox/addon/1192 XPath generator, editor and inspector. Opera Tools > Advanced > Error console http://dev.opera.com/articles/view/introduction-to-opera-dragonfly/ Safari To display the ` Develop ` menu in Safari 3.1 or higher, select the checkbox labeled "Show Develop menu in menu bar" in Safari's ` Advanced ` Preferences panel. http://trac.webkit.org/wiki/Web%20Inspector Chrome JavaScript Console: click the ` Page ` menu icon and select ` Developer > JavaScript Console `. From here, you'll be able to view errors in the JavaScript execution, and enter additional javascript commands to execute. JavaScript Debugger: available as ` Page ` menu icon > ` Developer ` > Debug JavaScript, the debugger provides a command prompt from which you can set breakpoints, backtrace, and more. Type ` help ` at the debugger command line to get started. * http://www.google.com/chrome/intl/en/webmasters-faq.html#jsexec * http://jibbering.com/faq/ http://blog.chromium.org/2009/06/developer-tools-for-google-chrome.html * http://jibbering.com/faq/ http://blog.chromium.org/2009/08/google-chrome-developer-tools-for.html Mac IE Use the Preferences dialog. The complete comp.lang.javascript FAQ is at http://jibbering.com/faq/ -- The sendings of these daily posts are proficiently hosted by http://www.pair.com.
|
Pages: 1 Prev: dynamically adding a filter (solved) Next: IDE for Javascript n CSS |