IBM Books

User's Guide


Chapter 11. Problem Determination and Debugging

Partial Table-of-Contents

  • Understanding XL Fortran Error Messages
  • Error Severity
  • Compiler Return Code
  • The Run-Time Return Code
  • Understanding XL Fortran Messages
  • Limiting the Number of Compile-Time Messages
  • Selecting the Language for Messages
  • Fixing Installation or System Environment Problems
  • Fixing Compile-Time Problems
  • Duplicating Extensions from Other Systems
  • Isolating Problems with Individual Compilation Units
  • Running out of Machine Resources
  • Fixing Link-Time Problems
  • Fixing Run-Time Problems
  • Duplicating Extensions from Other Systems
  • Mismatched Sizes or Types for Arguments
  • Working around Optimization Problems
  • Input/Output Errors
  • Tracebacks and Core Dumps
  • Debugging a Fortran 90 or Fortran 95 Program
  • A Sample dbx Session for an XL Fortran Program
  • Problem with Dynamic Memory Allocation
  • Using Debug Memory Routines for XL Fortran
  • The libhm.a library
  • Examples:
  • The libhmd.a library
  • Environment Variables
  • Examples:

  • This chapter describes some methods you can use for locating and fixing problems in compiling or executing your programs.
    Related Information:You might encounter a number of potential problems when moving from previous versions of XL Fortran to XL Fortran Version 6. Avoiding or Fixing Upgrade Problems summarizes these potential problems.

    The debugging process often requires you to specify one or more additional compiler options. An easy way to choose options that reflect your goals is to run the xxlf command. This presents a point-and-click interface to different categories of compiler options.

    Figure 38. Debugging Window of the xxlf Application

    REQTEXT


    [ Top of Page | Previous Page | Next Page | Table of Contents | Index ] © Copyright IBM Corporation 1990, 1998.