Preparing for Debugging, -g

Use the -g option to direct the compiler to generate code to support symbolic debugging. For example:

IA-32 applications:

prompt>ifc -g prog1.f

Itanium(TM)-based applications:

prompt>efc -g prog1.f

Debugging and Assembling

The compiler does not support the generation of debugging information in assembly files. If you specify the -g option with -S, the resulting object file will contain debugging information, but the assembly file will not. If you specify the -g option and later assemble the resulting assembly file, the resulting object file will not contain debugging information.