 |
forums.silverfrost.com Welcome to the Silverfrost forums
|
View previous topic :: View next topic |
Author |
Message |
Anonymous Guest
|
Posted: Sat Dec 18, 2004 9:04 pm Post subject: Viewing dynamically allocated arrays in FTN95 SDBG debugger |
|
|
I have just converted my code from FTN77 to Personal FTN95, and in the process switched throughout from placing arrays in COMMON and instead dynamically allocating them. Specifically, all my arrays are now declared in a module, for example
REAL*8 , DIMENSION( , ALLOCATABLE :: B
and then in the relevant subroutine their sizes are allocated, for example
ALLOCATE ( B(100) )
I run using the command line environment with the source debugger SDBG. My code compiles and runs with FTN95 fine as before. However, in SDBG, every time I place the cursor over any array name (say B) in the source code, it displays B=POINTER::(100). Right clicking with the mouse produces an array display window with every array element indicated as "pointer type is null". So I have no debugging capability and this of course makes FTN95 unusable.
Have I hit a fatal limitation of FTN95 in command line mode, or am I doing something wrong? Is there a cure or workround? Thanks in anticipation
Brian Stott |
|
Back to top |
|
 |
silverfrost Site Admin

Joined: 29 Nov 2006 Posts: 193 Location: Manchester
|
Posted: Mon Dec 20, 2004 9:08 am Post subject: Viewing dynamically allocated arrays in FTN95 SDBG debugger |
|
|
Have you tried version 4.70 ?
------------
Administrator
Silverfrost Forums |
|
Back to top |
|
 |
Anonymous Guest
|
Posted: Mon Dec 20, 2004 11:25 am Post subject: Viewing dynamically allocated arrays in FTN95 SDBG debugger |
|
|
To the administrator: Many thanks for your help - I was using 4.6. I have just tried 4.7 and the problem has gone away. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|