- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How does one "set your scope to the containing routine"?
Mike D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's a current scope "dropdown" box in the debugger window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page