Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29283 Discussions

Host entities not visible in internal procedures in .net debugger

tashker__michael
Beginner
842 Views
subroutine host
integer hostX
...code...
contains
subroutine intrnl
integer intY
hostX=2
end subroutine
end
When debugging into subroutine intrnl, entities defined in the host routine appear undefined (? hostX ... Undefined variable hostX). Similarly hovering over hostX produces no tooltip with the value. No problem with variable intY, which is local to the internal procedure.
Workaround? Some linker flag not set?
0 Kudos
4 Replies
Lorri_M_Intel
Employee
842 Views

Yes, this was not available in the first release of the compiler. We're working on it, and hope to have it available shortly.

In the meantime, please set your scope to the containing routine, and then you can see the variables.

I apologize for the inconvenience,

- Lorri

0 Kudos
durisinm
Novice
842 Views

How does one "set your scope to the containing routine"?

Mike D.

0 Kudos
Steven_L_Intel1
Employee
842 Views
There's a current scope "dropdown" box in the debugger window.
0 Kudos
tashker__michael
Beginner
842 Views
Well, I got onto this topic because I was getting a blowup (attempt to read...) in an internal subroutine, even though the value of the variable was perfectly fine in the host routine. So I pared down the routines totheir most simple form so I could see what was happening more clearly... and broke the compiler. But I now have suspicions about the implementation of internal routines in IF8.
Shall submit the simple code to premier support.
0 Kudos
Reply