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

Viewing declared variables during debug session

Don_Shirey
Beginner
675 Views
I have been able to compile in debug mode. However, I am unable to view the values for the variables being used. For example, I have a subroutine where a real variable is declared (r64). I place a breakpoint on the line after the value is calculated. I try to hover over the variable name with the cursor to view the calculated value.. but no value is displayed. I tried to add the variable to the watch box, and it says "Error: symbol "" not found."

I am using the following:

Microsoft Visual Studio 2008, Version 9.0.30729.1 SP
Microsoft .NET Framework version 3.5 SP1
Intel Visual Fortran Package ID: w_fcompxe_2011.4.196
Intel Visual Fortran Composer XE 2011 Integration for Microsoft Visual Studio* 2008, 12.0.3471.2008, Copyright (C) 2002-2011 Intel Corporation

Various service packs to VS 2008 professional edition


Any suggestions?
0 Kudos
2 Replies
Anonymous66
Valued Contributor I
675 Views
If you want to see variable information, set "Properties > Fortran > Debugging" to "Full(/debug:full)" instead of "Line Numbers Only (/debug:minimal)"
0 Kudos
Don_Shirey
Beginner
675 Views
Thanks, that worked!
0 Kudos
Reply