I recently upgraded to Intel Parallel Studio 2020U4 (FORTRAN), which installed the IDE into MSVC 2017.
Unfortunately, when debugging FORTRAN code, MSVC reports variables written in lowercase as undefined. I have to write them manually in the watch window in uppercase in order to see their value.
Earlier combinations of ifort+MSVC are working fine on the same binaries, in the sense that the debugger is case insensitive.
Did someone encounter this problem? Can I instruct the MSVC FORTRAN IDE to be case insensitive?
The problem you have is that you're using the C debugger and not Fortran. Usually an uninstall and reinstall of the Intel product fixes this.
Thanks Steve, this was my thought as well. Uninstall and reinstall did not solve it. It was a fresh installation of both, MSVC and Intel, anyway.
There must be a setting somewhere, or at least this is my (only) hope.
If I open the Locals window, I can see all the variables in uppercase along with their values. I assume that this is because the symbols are written in the binaries in uppercase. What bothers me is that it used to work fine in MSVC2016, where I was able to see them as they are written in the code (mostly lowercase). Unfortunately, when the XE Composer installs, it removes the support for MSVC2016 and installs the one for MSVC2017.
There is no setting. In the Locals window, do variables show as having Fortran type names (INTEGER, REAL, etc.) or C names (int, float, etc.)? Yes, the symbols are in the database as uppercase, but the Fortran Expression Evaluator is case-blind.
This problem has hit many before, it can always be resolved.
At this point I would suggest installing the latest oneAPI product, which is free. You will need only the oneAPI HPC Toolkit, unless you also want MKL, in which case you will also need the Base Toolkit. You can customize the install to get just Fortran and not the other Intel tools it installs Visual Studio 2017 is supported.
After installing this, also install the Fortran Runtime components which are now packaged separately.