From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e62eb2d11af596ce,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 1094ba,e62eb2d11af596ce,start X-Google-Attributes: gid1094ba,public From: Alessandro Castagnini Subject: Debugging fortran code with modules Date: 1998/02/02 Message-ID: <34D5BFD5.6550CC43@die.unige.it>#1/1 X-Deja-AN: 321330044 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: Dipartimento di Ingegneria Elettrica, Universita' di Genova, ITALY Newsgroups: comp.lang.fortran,comp.sys.dec Hi, people. 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". I've written a small test program which uses allocatable arrays declared in the main program, without using modules, and everything works fine (I've compiled with the -ladebug flag), so I think it's because of the modules that the debugger has problems. Does any of you know if there's a way to make the debugger aware of symbols defined inside modules? Thanks in advance. Alessandro -- ==================================== Ing. Alessandro Castagnini Department of Electrical Engineering Via all'Opera Pia, 11a I-16145 Genova, Italy Phone No. +39-10-3532042 Fax No. +39-10-3532040 ====================================