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

Mixed C/Fortran Debugging issue

Nigel_Thomas
Beginner
738 Views

Somethings gone wrong somehere in my project settings or something, but i'm blowed if i can figure what.

We have a big mixed C/fortran app thats gone through various versions  of Visual Studio/Fortran.  I have had 2005, 2010 and 2012 installed simultaneously, but i've uninstalled 2005 and 2010 & now just have 2012 with Intel XE 2013 Update 3 .  There may be remnant of the other compilers lying around, but this problem seems to be project specific.

When debugging I'm having trouble inspecting (by hover over) or watching anything other than upper case plain varibales in the fortran. I can't see the values of lower case variables, arrays or types. 

I can't reproduce this is a test program, so it must be in the project somewhere.  I have C++/exe  calling C++dll with static fortran lib. Everything links up fine & steps through fine.

Short of completely deleting the project & starting from scratch i've run out of ideas.  How do the fortran variables get displayed by the vs debugger - is there some file i can delete & have it recreated ?

Anyone any ideas?

0 Kudos
4 Replies
mecej4
Honored Contributor III
738 Views

Nigel Thomas wrote:
I have C++/exe  calling C++dll with static fortran lib.

Please clarify: does the EXE call code in the static lib, or is it the DLL which calls code in the static lib?

0 Kudos
Nigel_Thomas
Beginner
738 Views

The exe calls functions in the C Dll (in fact exported C++ class) which calls functions in the fortran static lib

I've just rebuilt the vcxproj of the exe from scratch & the problems gone away - no idea what was causing it but it would be nice to know.

0 Kudos
SergeyKostrov
Valued Contributor II
738 Views
>>>>...now just have 2012 with Intel XE 2013 Update 3... >> >>...I've just rebuilt the vcxproj of the exe from scratch & the problems gone away... Several versions of Visual Studios perfectly co-exist on a system ( I have 8 on my primary development computer ) but after removal of some Visual Studio I would do Repair for the one that still installed on the system ( just in case ). Anyway, it is really unclear what happened on your system.
0 Kudos
Bernard
Valued Contributor I
738 Views

Probably parser related problem.You can repair your installation.I had related issue in the past and repairing installation solved the problem.

0 Kudos
Reply