Hello,
Since my update to Visual Studio 2012 with Intet Fortran 2013, I no longer have acces to all my modules variables in the display windows while debubbing under idb.
I managed to create a small program which leads to the same bug (at the end of my post). If I execute it in debug mode, let's say with a break point at the "write" line, I can check the values of arrays X and Z but no Y (error : "Undefined variable Y"). I think it's beacuse "X" is used in the main program to define variable "TOTO" and "Z" because the compiler "sees" it in the "IMPLICIT REAL*8(A-H,O-Z)" during compiling.
I know it worked under VS2008 with Intel Fortran 2011 (my previous VS version), and I wondered if something has changed or if I made mistakes ?
Thank you so much in advance for your answers.
Best regards,
Mathieu
PS : the code exemple (and the log file in .docx format).
MODULE MONMOD
IMPLICIT REAL*8(A-H,O-Z)
ALLOCATABLE :: X(:),Y(:),Z(:)
END MODULE MONMOD
SUBROUTINE ALLOC
USE MONMOD
ALLOCATE (X(100),Y(100),Z(100))
X = 1.d0
Y = 2.d0
Z = 3.d0
END
program TestMod
use monmod
IMPLICIT REAL*8(A-H,O-Z)
CALL ALLOC
TOTO = X(1)
WRITE(*,*) TOTO
end program TestMod