The Script tab is the next gem that Firebug provides us with. This tab allows us to debug JavaScript code on the browser. We'll not go into the details of debugging JavaScript under this tab because in Chapter 5 we will cover all the details and ways of debugging JavaScript. For now we take an overview of this tab and briefly discuss the features of this tab.
The following can be performed under the Script tab:
Viewing the list of JavaScript files that are loaded with our document
Debugging the JavaScripts
Inserting and removing breakpoints
Inserting and removing conditional breakpoints
Viewing the stack trace
Viewing a list of breakpoints
Adding new watch expressions
Keeping an eye on the watches for viewing the values of variables
Debugging an AJAX call
The next screenshot shows the layout of the Script tab. On the left panel, there is a JavaScript editor for debugging the JavaScript. With the JavaScript editor, we can debug the JavaScript code. In Firebug 1.4.x, an option called "Break...