Syntax
-g
Description
The -g option instructs the compiler and assembler to generate
debugging information (line numbers and data type information) for the debugger
to use.
Setting this in CrossStudio
To set include debugging information for all files in a project:
- Select the project in the Project Explorer.
- In the General Options group set the Include Debug
Information property to Yes or No as
appropriate.
To set include debugging information for a particular file (not recommended):
- Select the file in the Project Explorer.
- In the General Options group set the Include Debug
Information property to Yes or No as
appropriate.