Java Reference
In-Depth Information
Figure 4-31
Dragonfl y follows the popular two-panel layout. The left panel contains a few tabs at the top that con-
trol the several different tools offered by Dragonfl y. The debugging tools are located under the Scripts
tab, and it's the default tab when you open Dragonfl y.
At the bottom of the left panel are more tabs: Scripts, Source, and Command Line. The Source and
Command Line tabs provide the same functionality found in the other debuggers:
Scripts:
Displays the HTML fi les currently loaded into the browser and the JavaScript code they
contain or reference. Figure 4-31 shows two inline scripts, meaning they are not contained in
external fi les.
Source:
Displays source code. Unlike other tools, it displays only the code you select from the
Script tab.
Go to the Scripts tab and click the fi rst inline script. Doing so opens the Source tab and displays
the contents of the <script /> element in the HTML fi le's head (see Figure 4-32).
Search WWH ::




Custom Search