I am using VS2012 together with Visual Fortran Compiler XE 13.0.0.089.
and I am building a 64-bits application.
I can break and step through the Fortran code but I cannot examine any variable
with watch or hover over the variable.
The stackframe says:
<Unknown function> Line 662 Unknown
The line number is correct.
Any ideas what may be the reason fro this behaviour ?
/Lars
連結已複製
Try Adding Watch with Right Click over variable, then making the variable name all CAPITALS by double clicking on the variable name in Watch and editing. For example, you can watch IWALKT (a 4 byte integer of value 0) but you cannot see iWalkT because VS cannot find symbol name.
IWALKT 0 long
iWalkT CXX0017: Error: symbol "iWalkT" not found
This is strange behaviour by VS 2013 as case insensitivity of Fortran was respected by VS 2010 and enforced for C++ code in my mixed language project. I have workaround this for local variables but VS 2013 still cannot watch global variables from Included Commons.
I am considering returning to VS 2010 and leave the Managed Code silliness to the .NET people. Having a repository shared by a dozen workers in 3 time zones is plenty of Management for me! :)
In conclusion, try making the variable name in Watch all CAPITALS!
Brian C. wrote:
Try Adding Watch with Right Click over variable, then making the variable name all CAPITALS by double clicking on the variable name in Watch and editing. For example, you can watch IWALKT (a 4 byte integer of value 0) but you cannot see iWalkT because VS cannot find symbol name.
IWALKT 0 long
iWalkT CXX0017: Error: symbol "iWalkT" not found
This is strange behaviour by VS 2013 as case insensitivity of Fortran was respected by VS 2010 and enforced for C++ code in my mixed language project. I have workaround this for local variables but VS 2013 still cannot watch global variables from Included Commons.
I am considering returning to VS 2010 and leave the Managed Code silliness to the .NET people. Having a repository shared by a dozen workers in 3 time zones is plenty of Management for me! :)
In conclusion, try making the variable name in Watch all CAPITALS!
Brian C.,
Which version of Intel Fortran are you using? With Intel Fortran Compiler 15 version (Intel(R) Visual Fortran Compiler XE 15.0.0.108) integrated with 3 versions of Visual Studio (2013, 2012, and 2010), I do not notice any such problems with watch variables from Fortran code in any of the VS versions.
FortranFan
My Intel setup in VS 2013 is this:
Intel(R) Visual Fortran Package ID: w_fcompxe_2013_sp1.4.237
Intel(R) Visual Fortran Composer XE 2013 SP1 Update 4 Integration for Microsoft Visual Studio* 2013, 14.0.0100.12, Copyright (C) 2002-2014 Intel Corporation
My VS 2013 version stuff is this:
Microsoft Visual Studio Professional 2013
Version 12.0.21005.1 REL
Microsoft .NET Framework
Version 4.5.50938
Installed Version: Professional
I have temporarily retreated back to VS 2010 until I can get this fixed.
