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