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

VS watch window fails to expand arrays

Andrew_Smith
Valued Contributor I
292 Views
This happens randomly. Tooltip works OK. See screen capture:


Using VS2008 with IVF 11.0.074 on XP64
0 Kudos
3 Replies
Steven_L_Intel1
Employee
292 Views
Can you provide us with a small but complete test case? There's not much we can do otherwise.
0 Kudos
Les_Neilson
Valued Contributor II
292 Views

If your array is in a module then you may need to prefix the module name in the watch window ie module_name::array_name

note also the expansion is limited to a maximum of1000 items at a time
(1:1000) (1001:2000) etc

Les
0 Kudos
Andrew_Smith
Valued Contributor I
292 Views

It is a local variable (declared in the subroutine where I am viewing it). It is declared as an automatic array with real :: pressure(n), where n is an integer argument. The project has 8 byte reals set as default.

I doubt I could provide some code to repeat it since it occurs at random but I will try. I found that watching Pressure(:) did make it expand properly.
0 Kudos
Reply