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

INvalid Debug Info -- unlimited polymorphic

abhimodak
New Contributor I
1,158 Views

Hi

The debugger watch window shows "Invalid Debug Information" for an unlimited polymorphic pointer (class(*)) after an association is made. Is this a known issue?

In the test-case below, I get this for pointer p.

Sincerely
Abhijit
----

[fortran] Program Test_UnLimitedPoly Implicit None Class(*), Pointer :: p Real(8), Target :: R Integer, Target :: J Type upA Class(*), Pointer :: p End Type upA Type(upA), Allocatable :: A(:) Integer :: n R = 0.0d0; J = -1 p => R Allocate(A(2)) do n=1,Size(A) Allocate(Integer :: A(n)%p) end do End Program Test_UnLimitedPoly[/fortran]

0 Kudos
2 Replies
Anonymous66
Valued Contributor I
1,158 Views
Hi Abhijit,

This was not a known issue. I have escalated this problem to development. The issue number is DPD200177551.

Regards,
Annalee
Intel Developer Support
0 Kudos
Anonymous66
Valued Contributor I
1,158 Views
Hi Abhijit, At the present there is a restriction preventing dynamic-type objects from being viewed in the debugger. I have changed this issue into a feature request to support dynamic-type objects in the debugger. Regards, Annalee
0 Kudos
Reply