Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* decladebug: Could not evaluate array expression
@ 1998-07-21  4:00 Yon Han CHONG
  1998-07-21  4:00 ` Steve Lionel
  0 siblings, 1 reply; 4+ messages in thread
From: Yon Han CHONG @ 1998-07-21  4:00 UTC (permalink / raw)


Digital Fortran 90 V4.1-270
   Ladebug Debugger Version 4.0-25
   Fortran flages: -ladebug -g


Currently, I am trying to debug a program using "decladebug" but it 
failes to evaluate array expression.

According to the man page on f90, -ladebug flag enables DECladebug to 
print and assign to dynamics array using standard Fortran syntax,
including array sections but when I try to evaluate an array, I get
following error message:

   (ladebug) print rho(i,j,k)
   Symbol rho undefined.
   Error: Evaluation of 'rho' failed.
   Could not evaluate array expression rho(i, j, k).
   Error: no value for rho(i, j, k)
   (ladebug)

By the way rho is a dynamically allocated array and defined in a module
which can be share among subroutines.

Thanks in advance.

-- 
----------------------------------------------------------------------
Yon Han Chong                     |
Flow Control and Prediction Group | Tel: + 44 1234 750 111 ext. 5420
Cranfield College of Aeronautics  | E-mail: Y.H.Chong@cranfield.ac.uk
Cranfield University              | Fax: + 44 1234 752 149
United Kingdom                    | Mobile: + 44 958 381 395
----------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: decladebug: Could not evaluate array expression
  1998-07-21  4:00 decladebug: Could not evaluate array expression Yon Han CHONG
@ 1998-07-21  4:00 ` Steve Lionel
  1998-07-22  4:00   ` Jeff Diewald
  0 siblings, 1 reply; 4+ messages in thread
From: Steve Lionel @ 1998-07-21  4:00 UTC (permalink / raw)



In article <35B48E12.ED655F8A@cranfield.ac.uk>, Yon Han CHONG 
<Y.H.Chong@cranfield.ac.uk> writes:
|>Digital Fortran 90 V4.1-270
|>   Ladebug Debugger Version 4.0-25
|>   Fortran flages: -ladebug -g
|>
|>
|>Currently, I am trying to debug a program using "decladebug" but it 
|>failes to evaluate array expression.

I'm told that the problem of not being able to examine ALLOCATABLE arrays
in modules is corrected in a newer version of DECladebug.  This ships as
part of the operating system, so you might want to look for a newer
DIGITAL UNIX update.  4.0D is the current version.  The compiler is at
version 5.1, by the way.
-- 
Steve Lionel                      mailto:Steve.Lionel@digital.com
DIGITAL Fortran Development       http://www.digital.com/info/slionel.html
Compaq Computer 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: decladebug: Could not evaluate array expression
  1998-07-21  4:00 ` Steve Lionel
@ 1998-07-22  4:00   ` Jeff Diewald
  1998-07-23  4:00     ` Yon Han CHONG
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Diewald @ 1998-07-22  4:00 UTC (permalink / raw)
  To: Y.H.Chong

Steve Lionel wrote:

> In article <35B48E12.ED655F8A@cranfield.ac.uk>, Yon Han CHONG
> <Y.H.Chong@cranfield.ac.uk> writes:
> |>Digital Fortran 90 V4.1-270
> |>   Ladebug Debugger Version 4.0-25
> |>   Fortran flages: -ladebug -g
> |>
> |>
> |>Currently, I am trying to debug a program using "decladebug" but it
> |>failes to evaluate array expression.
>
> I'm told that the problem of not being able to examine ALLOCATABLE arrays
> in modules is corrected in a newer version of DECladebug.  This ships as
> part of the operating system, so you might want to look for a newer
> DIGITAL UNIX update.  4.0D is the current version.  The compiler is at
> version 5.1, by the way.

I tested Ladebug 4.0-47, which is the newest version, using a small program
with an allocatable array, and it worked just fine.  4.0-25 is nearly two
years old.  Upgrading should fix your problem.  (We've been hard at work,
fixing a lot of bugs since then.)

If you still have problems after upgrading, please report them to us so we
can fix them!
-----------------------------------------------------------------------
Jeff Diewald                    Vortex of Chaos
Ladebug group                   diewald@zko.dec.com
Compaq Computer Corp.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: decladebug: Could not evaluate array expression
  1998-07-22  4:00   ` Jeff Diewald
@ 1998-07-23  4:00     ` Yon Han CHONG
  0 siblings, 0 replies; 4+ messages in thread
From: Yon Han CHONG @ 1998-07-23  4:00 UTC (permalink / raw)
  To: Jeff Diewald

Jeff Diewald wrote:

> Steve Lionel wrote:
>
> > In article <35B48E12.ED655F8A@cranfield.ac.uk>, Yon Han CHONG
> > <Y.H.Chong@cranfield.ac.uk> writes:
> > |>Digital Fortran 90 V4.1-270
> > |>   Ladebug Debugger Version 4.0-25
> > |>   Fortran flages: -ladebug -g
> > |>
> > |>
> > |>Currently, I am trying to debug a program using "decladebug" but it
> > |>failes to evaluate array expression.
> >
> > I'm told that the problem of not being able to examine ALLOCATABLE arrays
> > in modules is corrected in a newer version of DECladebug.  This ships as
> > part of the operating system, so you might want to look for a newer
> > DIGITAL UNIX update.  4.0D is the current version.  The compiler is at
> > version 5.1, by the way.
>
> I tested Ladebug 4.0-47, which is the newest version, using a small program
> with an allocatable array, and it worked just fine.  4.0-25 is nearly two
> years old.  Upgrading should fix your problem.  (We've been hard at work,
> fixing a lot of bugs since then.)
>

 The lastest Ladebug our university has is 4.0-43 but the result
was same so I did little more investigation.

It turns out that if I create object files using -c option and
link them all at the end Ladebug cannot evaluate arrays. If I just
compile all the files without creating object files it works fine.

Thank you for all the people who showed interest to my problem.

--
----------------------------------------------------------------------
Yon Han Chong                     |
Flow Control and Prediction Group | Tel: + 44 1234 750 111 ext. 5420
Cranfield College of Aeronautics  | E-mail: Y.H.Chong@cranfield.ac.uk
Cranfield University              | Fax: + 44 1234 752 149
United Kingdom                    | Mobile: + 44 958 381 395
----------------------------------------------------------------------






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1998-07-23  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-21  4:00 decladebug: Could not evaluate array expression Yon Han CHONG
1998-07-21  4:00 ` Steve Lionel
1998-07-22  4:00   ` Jeff Diewald
1998-07-23  4:00     ` Yon Han CHONG

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