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

Viewing Fortran module data in idb

Kevin_Fogleman
Beginner
423 Views
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.
0 Kudos
1 Reply
Kevin_D_Intel
Employee
423 Views

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

0 Kudos
Reply