Java Reference
In-Depth Information
Figure 4-14
8.
Step Into again, and as you leave the function thirdCall() you will see that its name is
removed from the top of the call stack. Yet another step takes you out of the second function
secondCall(), whose name is also now removed from the stack. Each additional click takes
you out of a function, and removes its name from the call stack, until eventually all the code
has been executed and you're back to the browser again.
This demo page was very simple to follow, but with complex pages, especially multi-frame pages, the
call stack can prove very useful for tracking where you are, where you have been, and how you got
there.
As mentioned earlier, most other developer tools for other browsers are based upon Firebug, and you'll
soon see this with IE8's built-in tools.
Debugging in Internet Explorer
Before version 8, developers had to download and install the Microsoft Script Debugger for any type
of script debugging. Thankfully, Microsoft built a debugger into IE8, but it is turned off by default. To
enable it, follow these steps:
1.
Click Tools
Internet Options.
2.
Click the Advanced tab, and uncheck the box next to “Disable script debugging (Internet
Explorer)” under the Browsing section (see Figure 4-15).
3.
Click OK to save the settings and exit the Internet Options dialog box.
Search WWH ::




Custom Search