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

Debugging Problem - Undefined Host Data

pjh_gn
Beginner
453 Views

When I run my Win32 Fortran application in debug, variables defined in the module header (host associated) are not visible in contained module subprograms. The same problem for host associated variables in internal sub-programs. When I try to watch the variable I get an "undefined variable" message.I have turned off optimisation and set debugging level to full. Have I missed some other debug switch or is this a feature?

0 Kudos
2 Replies
Steven_L_Intel1
Employee
453 Views
It's a limitation. For now, you can type in modname::varname in the QuickWatch window.
0 Kudos
pjh_gn
Beginner
453 Views
That's great, thanks for the work-around, Steve.
0 Kudos
Reply