View module data using idb?

View module data using idb?

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

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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.

Steve - Intel Developer Support

Leave a Comment

Please sign in to add a comment. Not a member? Join today