Java Reference
In-Depth Information
Debugging in Safari
Safari's debugging tool's story is similar to that of IE's. Safari's rendering engine is called Webkit, and
the folks that write and maintain Webkit built a separate tool, codenamed Drosera, that contained the
tools similar to Firebug and IE8's Developer Tools. It was a separate download, and it required you to
attach it to a specifi c Safari/Webkit window.
Safari 3 includes a tool called Web Inspector, but it does not have any JavaScript debugging capability.
Starting with Safari 4, the Web Inspector has a built-in JavaScript debugger, which we'll cover in this
section.
Chrome also uses Webkit, but only version 3 beta includes the script debugger at the time of this
writing.
Like IE8, the Web Inspector is disabled by default. To enable it, follow these steps:
1.
Click the Settings menu button and choose the Preferences option (see Figure 4-24).
Figure 4-24
2.
In the Preferences window, click the Advanced tab and select the Show Develop Menu in Menu
Bar option (see Figure 4-25). Close the Preferences window.
Search WWH ::




Custom Search