example using the throw operator is loaded, so you can see the function
as well as
the line number that the function begins on within the file. If you double-click on the file (or right-click
and select Find File), the source code of the file is displayed in the Source Code pane. If you double-click
on a function (or right-click and select Find Function), that function becomes highlighted in the source
For each file in the Loaded Scripts pane, you can determine whether the script contained within it
should be debugged or not. Just right-click on the file and select File Options. A submenu appears
(Figure 14-17) giving you complete control over debugging and profiling (discussed later in the chapter).
If you don’t want to debug any code in the file, click Don’t Debug Contained Functions (by default, all
functions are debugged). This menu also allows you to prevent debugging of
or timeout code by
selecting Don’t Debug Eval/Timeout.
By default, Venkman tries to show only the files you have loaded into the browser; however, it is capable
of loading all files that the browser loaded behind the scenes in addition to your own. You see all the
loaded browser files by unchecking Exclude Browser Files on the context menu. Also by default, the
pane only shows one instance of each file that is loaded; you can override this by unchecking Exclude
Duplicates on the context menu.
17_579088 ch14.qxd 3/28/05 11:41 AM Page 438