Using the Source view
The Source view displays the full text of a script. As you
run or step through the application, the Source view is updated
to show the current script with a yellow arrow indicating the next
statement to be executed.
Multiple Source views
You can open more than one source view. If there are multiple
source views open, only the first one opened is updated to show
the current script when the context of an application changes.
Copying from the Source view
When text is selected in the Source view, you can select Copy
from the pop-up menu in the Source view to copy the string to the
clipboard. You can then paste the string into another dialog box
to search for the string, insert a watch, or add a conditional breakpoint.
Changing the Source view
From the pop-up menu, you can navigate backward and forward
through the scripts that have been opened so far, open ancestor
and dependent scripts, and go to a specific line in the current
script. There are several other ways to change the script from other
views or from the menu bar.
To change the script displayed in a Source view:
-
Do one of the following:
-
Drag
the name of a script to the Source view from the Call Stack, Source
Browser, or Source History views -
Select a line and then select Open Source from the
pop-up menu in the Breakpoints, Source Browser, or Source History
views -
Select Edit>Select Script from the menu
bar
-
To find a specified string in the Source view:
-
Select Find from the pop-up menu, or select
Edit>Find from the menu bar.The Find Text dialog box opens.
-
Type the string in the Find box and check the
search options you want.