04.11.2015 Views

javascript

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 14: Error Handling and Debugging<br />

Firebug has many more uses beyond displaying error messages. It is a full - featured<br />

debugging environment for Firefox, providing ways to debug JavaScript, CSS, the<br />

DOM, and network information.<br />

Safari<br />

Safari on both Windows and Mac OS hide all JavaScript error information by default. In order to get<br />

access to this information, you must enable the Develop menu. To do so, choose Edit Preferences and<br />

then click the Advanced tab. There is a check box entitled “ Show develop menu in menubar ” that should<br />

be checked. Once the setting is enabled, a menu named “ Develop ” appears in the Safari menu bar<br />

(see Figure 14 - 6 ).<br />

Figure 14-6<br />

469

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!