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

Problem with debugging in ASSOCIATE construct

Jon_D
New Contributor II
1,023 Views
Hello,

When I debug, I can't see the values of variables in an ASSOCIATE / END ASSOCIATE construct except those that are ASSOCIATEd. Is there any way to see the values of all variables? I am using IVF 11.1.065 with VS2005 on a Professional XP machine.

Thanks,
Jon
0 Kudos
5 Replies
Jugoslav_Dujic
Valued Contributor II
1,023 Views
I submitted the same problem back in January (Issue 575386), but it is still only in "Reproduced" state.
0 Kudos
Steven_L_Intel1
Employee
1,023 Views
Actually it's in "Reproduced (Escalated)" which means it has been sent to the developers. I will ping the support engineer who seems to have missed your request for an update.

From what I can see reading the issue notes, there were several problems here, in both the compiler and the debug support, and that the ASSOCIATE problem is fixed in the next major release. When I try it in a development version of that I can see the ASSOCIATE variables.
0 Kudos
tboehme
Beginner
1,023 Views
Hi Steve,
unfortunately, debug still doesn't work properly inside ASSOCIATE constructs in the just released Composer XE 2011 version.
E.g. in the code below, one cannot see the value of B inside the ASSOCIATE construct in debug. It visible outside.
I really hope this fix will be included in the next update.
regards,
Thomas
[fortran]PROGRAM AssociateDebug
IMPLICIT NONE
REAL A
REAL B 
  A = 1.0
  B = 2.0
  ASSOCIATE (Test => A)
    WRITE(*,*) Test, B
  END ASSOCIATE
end program[/fortran]

0 Kudos
Steven_L_Intel1
Employee
1,023 Views
Sorry, this is not yet completely fixed. Part of the fix has been made on the compiler side, but work is needed elsewhere as well. I will update this thread as I get more info.
0 Kudos
Steven_L_Intel1
Employee
1,023 Views
It looks as if this finally got fixed in Composer XE 2011 Update 7. I verified that it works correctly in Update 8.
0 Kudos
Reply