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

View module data using idb?

matthewcroberts
Beginner
303 Views

Can one view variables stored in modules when debugging? I am thinking about something like this:

MODULE Keynes
integer :: GT = 4
END MODULE Keynes

PROGRAM Smith
USE Keynes, only: GT
IMPLICIT NONE

print *, GT

! but can i view it w/ idb? and if so, how?
! b/c if I type "p GT" it doesn't find the variable

END PROGRAM

If this is not possible, then I have two follow on questions:
-a Is it possible using the Win32 version of ifort?
-b Could you please, please put it on the queue?

Best Regards,
Matt

0 Kudos
1 Reply
Steven_L_Intel1
Employee
303 Views
I am not sure about idb, but try the syntax modulename::variablename. This is how you do it in the Visual Studio debugger on Windows.
0 Kudos
Reply