Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29246 Discussions

Cannot watch module variables in IVF 2015

Amalia_B_
Beginner
356 Views

I've been using this feature since MS 2008-2012 and all previous versions of IVF (and Composer) and now just updated to MS Visual Studio 2013 (Ver. 12.0.30723.00 Update 3) and Intel Parallel Studio XE 2015 Composer Edition for Fortran Windows (w_fcompxe_2015.0.108) and every time I try to watch a variable contained in a module, I get "undefined variable .....".  I access the variable by modulename::variablename  and always get the same error or undefined variable response.  This worked in previous versions.

Is this a known bug?

Amalia

0 Kudos
2 Replies
mecej4
Honored Contributor III
356 Views

I cannot reproduce the problem. I have a module with the following code:

MODULE common_refnum
   IMPLICIT NONE
   integer, parameter :: dp=kind(1d0)
   INTEGER, SAVE :: nprob, nfev, njev
END MODULE common_refnum

This module is USEd in the main program, and the VS debugger shows the module variables in the watch window whether I refer to the variable with the "common_refnum::" or "common_refnum_mp_" prefixes.

watch.jpg

 

0 Kudos
FortranFan
Honored Contributor III
356 Views

amalia.barrios@navy.mil wrote:

I've been using this feature since MS 2008-2012 and all previous versions of IVF (and Composer) and now just updated to MS Visual Studio 2013 (Ver. 12.0.30723.00 Update 3) and Intel Parallel Studio XE 2015 Composer Edition for Fortran Windows (w_fcompxe_2015.0.108) and every time I try to watch a variable contained in a module, I get "undefined variable .....".  I access the variable by modulename::variablename  and always get the same error or undefined variable response.  This worked in previous versions.

Is this a known bug?

Amalia

Works fine for me too, so I doubt there is a bug.

During installation of Intel Parallel Studio, the integration step of Intel Fortran with Visual Studio may have encountered some problems or you may have updated Visual Studio 2013 after installing Intel Parallel Studio which "broke" something in your Intel Fortran-VS integration.  You may want to consider "repairing" your Intel Parallel Studio installation by rerunning the install script and selecting the "Repair" option.  If that doesn't work, you can try uninstalling and installing Intel Parallel Studio.

0 Kudos
Reply