##### Syntax

-g

##### Description

The -g option instructs the assembler to insert debugging information into the output file. This allows you to single step through assembly language files at the source level through source files (with all its annotation) rather than a disassemby of the code. And declared, typed data is displayed correctly rather than as simply an address.

##### 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.