Compile and link. Default: -ng
Specify -g to instruct the compiler to generate an expanded symbol table and other information for the debugger. -g automatically overrides any optimization option and forces -o0, no optimizations, so your executable will run more slowly than if one of the higher optimization levels were used. -g is required to use the debugger. Supplemental debug information is stored in a file having the same name as the executable file with extension .ydg.
If the following error message appears during linking:
fwdmerg:[error] Terminated abnormally. (signal 11)
It means that the .ydg file was not created (contact Technical Support if this happens).
This option is required to debug if a separate link is performed.
The -g option corresponds to the Fortran|Debug/Diagnostics|Generate Debug Information property. This property can be set on the property page for the project or source file.