- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Im not sure that we are discussing the same thing.
Just to make it clear:
My concern is to be able to view an array component of a derived type when debugging a normal Fortran program like this:
.
.
.
TYPE mytype
REAL, DIMENSION(1:100) :: a
END TYPE mytype
.
.
.
TYPE(mytype) :: b
.
. Define b somehow here.
.
How can view b%a in the debugger here?
.
.
.
Im sure this must be a common case and will be even more so when the parameterized derived types and object-oriented features from Fortran 2003 will be implemented.
It works very well in CVF (I can just type in b%a). How do you do the corresponding thing here? It seems overkill to have to declare an array of the same type and shape, that is not in a derived type, and assign b%a to it, to be able to view it in the debugger. Have I missed something trivial?
Best wishes
Lars M
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page