When an application fails and you need to diagnose the error, there are a few tools and aids that are helpful. Compiler-generated machine code listings and linker-generated map files can help you understand the affects of compiler optimizations and to see how your application is laid out in memory. They may help you interpret the information provided in a stack trace at the time of the error:
To generate a
complete listing (.lst) file:
DF file.f90 /list /show:all
To generate a
link map (.map) file:
DF file.f90 /map
To see what sections are defined in an
executable image (.exe) file:
link -dump -summary your_app_name.exe
To see more detailed information, use the command:
link -dump -headers your_app_name.exe