The following options aid program debugging, including post-mortem, runtime, and static source code analysis. The most useful are listed first.
Table 3-4 Debugging Options
Action |
Option |
Details |
---|---|---|
Compile for use with the debugger. | -g | |
Global source program checking for consistency. | -Xlist | |
Check for subscripts out of range. | -C | |
Undeclared variables--show a warning message. | -u | |
Version ID--show ID along with name of each compiler pass. | -V | |
Enable VMS Fortran `D' debugging statements with -vax=debug. | -vax=v | |
Allow debugging by dbx without .o files. | -xs |