By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,480 Members | 1,743 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,480 IT Pros & Developers. It's quick & easy.

FAQ Topic - How do I get my browser to report javascript errors? (2008-07-27)

P: n/a
-----------------------------------------------------------------------
FAQ Topic - How do I get my browser to report javascript
errors?
-----------------------------------------------------------------------

Various browsers include mechanisms for reporting javascript
errors in more or less detail but often they need to be enabled
or actively viewed. The quick way of activating error messages
in the Windows version of IE is to 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. It is also possible to
enable/disable error reporting from the "Internet Options"
dialog available through the menus. Mac IE error reporting is
enabled through the preferences dialog.

Netscape, Mozilla and other Gecko-based browsers have a javascript
console that displays errors. It can be viewed by typing ` javascript: `
into the address bar, and it is sometimes also available as a menu item.

There is also a Firebug extension for Mozilla based browsers:

http://www.getfirebug.com/

Opera's JavaScript console can be opened from the Tools menu
(Tools Advanced JavaScript console). Alternatively, you can
have it open automatically by selecting the "Open JavaScript
console on error" checkbox in the Javascript preferences Section.
Unreviewed is a developer Console for Opera:

http://dev.opera.com/articles/view/o...-tools/?page=2

For Safari see:

http://developer.apple.com/internet/....html#anchor14
--
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
The FAQ workers are a group of volunteers. The sendings of these
daily posts are proficiently hosted by http://www.pair.com.

Jul 26 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
MC
Thats a nice FAQ but it doesn't really help too much. How would you capture
js errors after the page has loaded? If I knew that, I could send them back
to a server via ajax and record them, so they could be fixed.

Any ideas on that?
MC
Jul 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.