- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
![](/skins/images/C4F7392A5C68ACA60290C9576F107044/responsive_peak/images/icon_anonymous_message.png)
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