- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I run my Win32 Fortran application in debug, variables defined in the module header (host associated) are not visible in contained module subprograms. The same problem for host associated variables in internal sub-programs. When I try to watch the variable I get an "undefined variable" message.I have turned off optimisation and set debugging level to full. Have I missed some other debug switch or is this a feature?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's a limitation. For now, you can type in modname::varname in the QuickWatch window.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's great, thanks for the work-around, Steve.

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