Keywords: xcoral

Next: Browser control Up: Browser Previous: Browser

# Browser database

The Xcoral browser builds its database by parsing one or more source files or full directories. It collects useful information about functions, globals, types, methods, attributes and inheritance in C/C++ environments only. The browser parses files with the following default suffixes: .c,.h,.cc,.cxx,.hxx and.C. Of course it is possible to add other suffixes (See Using Smac §4.3 page ).

During Xcoral start-up, the browser does not parse any directory to reduce the start-up time. However an environment variable XCORAL_PARSE_PATH can be set to parse directories, like the classic PATH, with the standard separator ':'.

Attention In this case the directories are parsed recursively.

The browser database is automatically updated after all write/save file operations.

To reduce information displayed on the browser window, you can hide some of them, see Hide browser button and Smac functions (§4.7 page , §7.3.12 page ).

To take into account macros and conditional compilations, it is possible to ask for a pre-processing before file parsing, see Prepr/No pp browser toggle button and Smac functions (§4.7 page , §7.3.12 page ).

Because pre-processing and parsing many files may take a long time, you can dump and restore the browser data base, see Dump and Rest browser buttons and Smac functions (§4.7 page , §7.3.12 page ). Attention Dumping is not made automatically after write/save file operations.