Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Global Variables

Title: Re: [photran] Global Variables
Bob,

I hope nobody is offended by my “ugly” comment.  I resort to these methods too, but am just frustrated that Visual Fortran (Windows) has had this capability forever and we still don’t have anything equivalent in Linux.  

I am also running up against the allocatable arrays appear as array[-1] that has been posted previously ( http://dev.eclipse.org/mhonarc/lists/photran/msg00376.html).  Any solutions anybody is aware of for that?  

Thanks for all of your comments.  They at least give me options if not my “ideal” solutions.

Regards,
Matt



From: Bob Hoffman <reh@xxxxxxxxxxx>
Reply-To: Photran Information <photran@xxxxxxxxxxx>
Date: Thu, 11 Oct 2007 12:51:59 -0600
To: 'Photran Information' <photran@xxxxxxxxxxx>
Subject: RE: [photran] Global Variables

Matt,
 
Perhaps another “ugly” to you, but COMMON block variables do automatically appear in the Photran variable list.
You might try putting your module variables in a COMMON block and INCLUDEing it where appropriate…
 
Yup, I understand the COMMON block issues -- but if you find using Print, Write or X unacceptable, this other “ugly aid”
might help during debugging (remove it later)…
 
Just a thought…
 
Regards,
Bob
 


From: photran-bounces@xxxxxxxxxxx [mailto:photran-bounces@xxxxxxxxxxx] On Behalf Of Lear, Matthew H.
Sent: Thursday, October 11, 2007 9:46 AM
To: Photran Information
Subject: Re: [photran] Global Variables

Yavuz,

Thanks.  I had hoped to see the variable in the Variables list in the debugger.  No offense, but Print* is ugly.  I’ve had to do that in the past and was hoping that Photran would make life easier.  The sad thing is Visual Fortran was able to do this over 10 years ago.

Matt


From: Yavuz Tokmak <yavuz.tokmak@xxxxxxxxxxx>
Reply-To: Photran Information <photran@xxxxxxxxxxx>
Date: Thu, 11 Oct 2007 18:12:09 +0300
To: Photran Information <photran@xxxxxxxxxxx>
Subject: Re: [photran] Global Variables

Hi Matt,

I have been wondering this for a long time. I have been saving the day with a simple but temporary solution. What I do is to add a print*, or write(*,*) statement about the variable I want to see before the line that I want my debugger stop at.

Regards,
Yavuz

 

----- Original Message -----
 
From:  Lear,  Matthew H. <mailto:Matthew.Lear@xxxxxxxxxx>  
 
To: photran@xxxxxxxxxxx
 
Sent: Thursday, October 11, 2007 5:15  PM
 
Subject: [photran] Global Variables
 

I have scoured the web and the archives but haven’t  found an answer to this (simple?) question.   How do I view global  variables during debug?  I have a module which contains a bunch of  variable definitions and then Use this module throughout my subroutines and  would like to “see” them in the debugger while stepping through the  subroutines.  Any thoughts?

Thanks,
Matt  

 





_______________________________________________
photran mailing  list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran
 



_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran


_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran

Back to the top