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

how to see non-local variables in the VS 2008 debugger?

tiseanu
Beginner
661 Views
I am usingIntel Visual Fortran Compiler Integration for Microsoft Visual Studio* 2008, 11.0.3453.2008.
I am having difficulties with the built-in the debugger.
Main problem is that non-local variables (variables defined in any other module than that of the current breakpoint ) are not visible. Bydraggingthem in a Watch window does not help.
A workaround is to type in full the module_name_mp_variable_name. But this is not elegant when you want to see tens of variables.
Example:
phn_type Undefined variable phn_type - dragging the variable in to the Watch window
ProjSim2D_types_mp_phn_type 'V' CHARACTER(1) - append the name of the variable to the module's name
Please help me with a better solution.
Many thanks in advance.
Ion
0 Kudos
1 Reply
Steven_L_Intel1
Employee
661 Views
The version nunmber you entered is that of the VS integration, not the compiler, but it does indicate 11.0, which is not current. We improved this item in 11.1. You should be able to just type the variable name, or you may need to watch modulename::variablename.
0 Kudos
Reply