- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In debugging my application I can happily enumerate values of local variables but cannot seem to enumerate globally defined parameters included through a USE statement. If I type the parameter name, say BORIS, into the watch window I get the value - Undefined variable BORIS. Is this the expected behaviour? Thanks ACAR.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set the option Fortran > Debugging > Information for PARAMETER constants > Used (or All if you prefer)
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set the option Fortran > Debugging > Information for PARAMETER constants > Used (or All if you prefer)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've tried that Steve but it doesn't seem to work. Might be that I need to recompile the complete application but then if a change were made to the application properties that required full recompilation then presumably that would happen on building?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Typically, yes, when you change options all sources get recompiled. Does it still not work on a rebuild? I just tried this and it worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have just done a rebuild and yes the application property change has taken affect - I can now enumerate globally defined parameters. This should surely have been flagged up when I requested a build of the application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it should, and does when I try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay - I must have missed it. Thanks for your help Steve.
![](/skins/images/D3C0B914909A6564BBB97F4AD1ED1973/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