Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

debugging and Fortran modules

$
0
0

I am having a problem in VS 2012 / Intel Fortran when using  Fortran MODULES If I declare some variables in a MODULE, then USE the MODULE  with a program unit, then when debugging I expect to be able to Watch the contents of all the variables within that module – this is the case with COMMON blocks and worked fine for MODULEs under VS 2008

What I am observing is that I can only see the contents of variables that are actually referred to within the program unit (Subroutine / Function) – all other variables appear Undefined. For example if the module has x and y variables,  and the particular subrouitine only has x apperaing in it , the value of y is undefined when debugging

I would be grateful for any help


Viewing all articles
Browse latest Browse all 5691

Trending Articles