Synchronized Debugging Through DA-C IDE
Configuring DA-C IDE for Freescale Tool Kit
225
Microcontrollers Debugger Manual

Building The Database

Development Assistant for C provides the static code analysis of C source files, as well as
generating various data based on the results.
Analysis of the project source files and generation of the database are divided into two
phases: the analysis of individual program modules and generation of data about global
symbols usage. Results of the analysis are saved in database files on the disk, which
enables their later use in DA-C. You can choose between the unconditional analysis of all
project files and the analysis of changed source files only, using Start > Build database
and Start > Update database commands. Start > Update database optionally checks to
ensure that the include files used in program modules are changed as well.
To build the database in our example use Start > Build database command, which makes
the unconditional analysis of all project files and creates a database containing information
about analyzed source code. Errors and Warnings detected during this operation are
displayed in the Messages window as illustrated in Figure 9.5 (for Fibo.c sample file):
Figure 9.5 DA-C Message Window
After the analysis of all project files, the new database file containing information about
global symbols is constructed. Refer to the DA-C manual for more information on how
symbol information can be used.
In the Project Manager's window of DA-C, select the Logical View Tab shown in Figure
9.6 and unfold all fields. The project overview appears.