From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1094ba,e62eb2d11af596ce X-Google-Attributes: gid1094ba,public X-Google-Thread: 1164f8,e62eb2d11af596ce X-Google-Attributes: gid1164f8,public From: Steve Lionel Subject: Re: Debugging fortran code with modules Date: 1998/02/03 Message-ID: <6b7hvr$al1@usenet.pa.dec.com>#1/1 X-Deja-AN: 321709137 References: <34D5BFD5.6550CC43@die.unige.it> Reply-To: Steve Lionel Distribution: world Organization: Digital Equipment Corporation, Nashua NH Newsgroups: comp.lang.fortran,comp.sys.dec In article <34D5BFD5.6550CC43@die.unige.it>, Alessandro Castagnini writes: |>I have a quite annoying problem using f90 on Digital Unix V4.0 when I |>debug my programs (I use Dec ladebug debugger). |> |>I have written a MODULE which contains the declarations of all the |>arrays that I want to allocate dinamically and I USE it where needed. It |>seems that the debugger cannot access those arrays: when I try to |>examine the values I obtain a message about an undefined symbol. The |>same happens with the command "whatis". |>Does any of you know if there's a way to make the debugger aware of |>symbols defined inside modules? Add the -ladebug switch to the f90 command. This causes the compiler to generate the additional information decladebug needs to access allocatable arrays in modules. You may send questions on DIGITAL Fortran for UNIX to fortran@digital.com. -- Steve Lionel mailto:Steve.Lionel@digital.com Fortran Development http://www.digital.com/info/slionel.html Digital Equipment Corporation 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For information on DIGITAL Fortran, see http://www.digital.com/fortran