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:

To set include debugging information for a particular file (not recommended):