User manual
Project creation and build UM0036
100/385 Doc ID 7705 Rev 11
Figure 65. Cosmic C debug information view
In this tab view, you can choose from the optimization options described in Table 33.
As you check off each option, you can see the resulting command line changes in the
Command line box at the bottom of the tab.
You can also add a user-defined option to the command line by typing it in the provided field
(see Figure 65). When you type an option in this field it is appears immediately in the
command line, below. For more information about creating your own options for the Cosmic
C compiler, you can refer to the C Cross Compiler User’s Guide.
Table 33. Cosmic C compiler debug information options
Option
(1)
1. For complete descriptions of compiler debug options, refer to the C Cross Compiler User’s Guide.
Description
Generate Debug Info (+debug)
Produce complete debugging information that will allow you
to take full advantage of STVD’s debugging features.
Generate Debug Info only for Data
Objects (-pxd)
Add debug information to the object file for data only
Add Debug Info for any Labels
(-pxx)
Add debug information for any label defining code or data to
the object file.
Don’t Use Absolute Paths in
Debug Info (-pxp)
Do not include absolute path names from the prefix filenames
in the debug information. You must provide the actual location
of the files for the debugger in the Debug settings tab.
Run Preprocessor Only
(-pe)
Expand the C source code and parse the resulting text only.
Only Verbose (don’t exec the build
commands) (-x)
Do not execute the passes, but write the commands that
would have been performed to STDOUT.