Pattern Search and Source Browsing | Browsing Multiple Directories |
The Sun WorkShopTM programming environment obtains its browsing information from a database that describes the static structure of your program. How the browser functions depends upon the database it accesses. The following are the browser database choices available.
Requires the use of Pattern Search Mode in the Browsing Window (see also Pattern Search and Source Browsing for more information).
Provides full browser functionality. When you compile your source files with the source browsing option, Sun WorkShop creates a database containing information about the files. In Source Browsing Mode, the Source Browser responds to queries by searching through this database. See Generating a Browser Database for more information.
Provides a convenient method for browsing source files without compilation. Allows queries on functions and global variables and displays function calls (graphing features not available). The database is based on a lexical analysis of the source file. A tags database recognizes only global definitions for variables, types, and functions and collects information on function calls. Function calls for C++ members are recognized only when members are called explicitly.
The advantages of using a tags-generated database instead of a compiler-generated database are:
Disadvantages of using a tags-generated database to browse source code are:
Note - The source browsing tags are not in the same format as ctags; the tags discussed here are in a format that works specifically with source browsing.