Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Steve Lionel <Steve.Lionel@digital.com>
Subject: Re: Debugging fortran code with modules
Date: 1998/02/03	[thread overview]
Message-ID: <6b7hvr$al1@usenet.pa.dec.com> (raw)
In-Reply-To: 34D5BFD5.6550CC43@die.unige.it



In article <34D5BFD5.6550CC43@die.unige.it>, Alessandro Castagnini 
<castagnini@die.unige.it> 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



      reply	other threads:[~1998-02-03  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-02-02  5:00 Debugging fortran code with modules Alessandro Castagnini
1998-02-03  5:00 ` Steve Lionel [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox