##### Syntax

-g

##### Description

The -g option instructs the compiler to generate debugging information (line numbers and data type information) for the debugger to use.

##### To set this option in the CrossStudio development environment

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.