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

IVF 8 with VS.Net 2003 Debug Array: "Too many subscripts"

mftech
Beginner
230 Views
Hello,
while trying to debug my project within Intel Visual Fortran 8.0 & VS.Net 2003 i have the following problem:
A field, defined as dimension(i,j,k) is recognized by the debugger as only one-dimensional. If i try to retrieve values of this field, the error "Too many subscripts" arises. However, the program is working correctly.
Here is small code snipped:
...
real(RP), dimension(iv0s:iv0e, jv0s:jv0e, kv0s:kv0e) :: F
...
F(face%p_i, face%p_j, face%p_k) = YY_s(face%l3)*Wirbel_M
...

While debugging after the code above was processed:

-> F(2) Invalid Debug Information
-> F(2,2,2) 'F':Too many array subscripts
-> F{...}
F(0) Invalid Debug Information
F(1) Invalid Debug Information
F(2) Invalid Debug Information
F(3) Invalid Debug Information
F(4) Invalid Debug Information
F(5) Invalid Debug Information

The field is locally defined, the indexes are accessed by pointers,
targeting to their corresponding variables, stored in a referenced
Type named 'face'.

The values of face%p_i, face%p_j, face%p_k can be correclty
debugged and modified. However, some other variables, located
in face% show the same error 'Invalid Debug Information' and
cannot be debugged.
Thank you for your help
mftech

Message Edited by mftech on 12-17-2003 07:12 AM

0 Kudos
1 Reply
Steven_L_Intel1
Employee
230 Views
Please report this to Intel Premier Support and attach a sample project. Thanks.
0 Kudos
Reply