- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there some way to view module data while inside a module procedure in a program written in Fortran 90? The idb GUI only offers "View Locals", which does not seem to consider module variables as local. I found this via Google search, but it's unclear which version of idb it is pertinent to, as entering
print 'MODULE_NAME'variable_name
returned the message "Unable to parse input as legal command or Fortran expression." The current idb documentation as found here makes no mention that I can find of viewing module data.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That seems to work for a trivial example that I tried. Those should be backwards quotes with no space as in:
print `MODULE_NAME`variable_name
Example: print `planets`saturn

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