Handling Run-Time Errors
This section contains information on the following topics:
- Default Run-Time Error Processing, which describes
the message format and values returned at program termination.
- Methods of Handling Errors, which describes using
the END, EOR, and ERR I/O statement branch specifiers and the IOSTAT specifier.
- Locating Run-Time Errors, which describes suggested
compiler options and information about debugging exceptions.
- Using Traceback Information, which describes techniques
to help you locate the cause of severe run-time errors.
- Obtaining Traceback Information with TRACEBACKQQ, which
explains how to call a routine to obtain traceback information from your application.
- Run-Time Environment Variables, which describes
environment variables that allow program continuation under certain conditions,
disable the display of certain dialog boxes under certain conditions, and
allow just-in-time debugging.
During execution, your program may encounter errors or exception conditions.
These conditions can result from any of the following:
- Errors that occur during I/O operations
- Invalid input data
- Argument errors in calls to the mathematical library
- Arithmetic errors
- Other system-detected errors
The Visual Fortran run-time system (Run-Time Library or RTL) generates appropriate
messages and takes action to recover from errors whenever possible.
For a description of each Visual Fortran run-time error message, see
Run-Time Errors.