Hi Nicolás,
I remember reading some time ago (but could not find the message) that these issues are (were) due to the way gfortran generates debug info, not to the debugger. A program compiled with gfortran had trouble inspecting module variables with either debugger, gdb and idb; however, the same program compiled with ifort (Intel Fortran) could be debugged correctly with both debuggers. As of today, I am using photran scarcely so I cannot tell if this is the case now. No idea what happens with g95, either. If you work in linux, the intel Fortan compiler is free.
Hope that helps,
Fernando
El 2015-11-10 05:41, Daniel Harenberg escribió:
I don't think there is an open source version. I found my correspondence on this list on the same topic, dating from 2010(!), unfortunately without much more insight, see also the few other answers there: https://dev.eclipse.org/mhonarc/lists/photran/msg01491.html The issue has recently (2014) also been raised on stackoverflow, without any good answers: https://stackoverflow.com/questions/23659594/typecast-in-eclipse-for-allocatable-arrays-in-fortran But there is a link discussing a workaround. I am not a programmer at all, but it seems to me that the issue is related to the debugger, not to Photran. In particular, if you follow the link in the stackoverflow question, some ppl seem to report that it works with newer versions of gdb. Maybe you try to install the most recent GDB? On Eclipse Bugzilla no bugs related to Photran and allocatable arrays have been filed and I think it is too early to do so.
On 11/09/2015 05:26 PM, Nicolás Biocca wrote:
Thanks for the tip Daniel, but is it impossible with gdb no? because I suppose that gdb-ia is not an open source, at least is it possible get a free version?
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/photran
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/photran
|