
Chapter 9. Programming tools 91
• The source code pane, located in the middle of the Xbrowse win-
dow, is the largest area of the window. This pane displays the
current source code.
• The information pane is located at the bottom of the main Xbrowse
window and provides information about the status of Xbrowse.
You can also type equivalents of the Xbrowse commands for many
menu options in this pane. (A list of these commands is available
through the Help menu option.)
To open a file, position the cursor on the File menu button and press the
left mouse button to open the menu. With the menu displayed, click on
the Open option. A window is displayed on which you enter the name
of the file (or files) to be opened.
A common activity while browsing code is to look for various types of
objects. The following list names a few of the objects you can locate by
Xbrowse:
• calls and callers
• common blocks (Fortran only)
• loops
• routines
• variables.
You can look for routine-based information with the commands in the
Find menu. These commands let you look for file-based or application-
based information. Most commands work in a similar manner, so trying
a couple of searches will give you an idea of how to find objects in your
code.
Call trees make it easy to see the structure of your code through a
clear graphical format. The Display menu provides the following two
commands for generating call trees:
• Call Tree
• Caller/Call Tree
Xbrowse gives you visual clues to help you identify various parts of
your code within the call trees. External routines are shown in green
and intrinsic routines are shown in yellow. An external call is one for
which Xbrowse does not have the source code loaded.
The command Call Tree produces a static call tree of loaded source
code. The name of the application or the file used by this option is
shown at the top of the display. The called routines and subprograms
are displayed in the middle.
The small, empty boxes following some nodes (routine names) on the
tree indicate subtrees that stem from these nodes. To open the tree one
Comentários a estes Manuais