- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello -
When I have an array in an incoming argument, it usually is dimensioned with a
*, i.e. integer(4) a(*), or B(0:*), etc.
The debugger only lets me show the first element in the tablular view.
Is there a way to override this? currently, I have to recompile it with a dimension of say 10, or whatever
is the highest element I want to look at. But this causes prolems if the CODE tries to reference a higher element location, itll trap the instruction.
Plus having to stop and recompile it wastes time.
Is there are way around this?
Yours; Bill S.
When I have an array in an incoming argument, it usually is dimensioned with a
*, i.e. integer(4) a(*), or B(0:*), etc.
The debugger only lets me show the first element in the tablular view.
Is there a way to override this? currently, I have to recompile it with a dimension of say 10, or whatever
is the highest element I want to look at. But this causes prolems if the CODE tries to reference a higher element location, itll trap the instruction.
Plus having to stop and recompile it wastes time.
Is there are way around this?
Yours; Bill S.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can type A(1:10) in a debugger watch window and see elements 1:10.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see, but there is no way to get the interactive viewing by
positioning the cursor, I take it?
That was pretty handy.....
Yours; Bill S.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No, because it doesn't know what the bounds are. Consider using assumed-shape arrays (:) rather than assumed-size (*), though this requires that the caller has an explicit interface visible.

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