- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am attempting to debug a program and have run up against a problem printing out array values. When stopped in a subroutine, I get the following response for arrays local to the sub-routine that have already been initialized or used (heap or stack allocated):
(idb) print array
(1)
(2)
(3)
(4)
(5)
etc ...
Interestingly, arrays that are part of structures/defined types print fine, as do scalars. Is this a Mac OS X issue that someone else has seem before or solved, or am I doing something weird? I compile for debugging with the following flags (ifort/idb 10.1.015, Mac OS X 10.5.4):
-g -m64 -O0 -extend_source -CB -traceback -fpe:0 -debug all
Any info on this would help me immensely!
Thanks,
Ben
(idb) print array
(1)
(2)
(3)
(4)
(5)
etc ...
Interestingly, arrays that are part of structures/defined types print fine, as do scalars. Is this a Mac OS X issue that someone else has seem before or solved, or am I doing something weird? I compile for debugging with the following flags (ifort/idb 10.1.015, Mac OS X 10.5.4):
-g -m64 -O0 -extend_source -CB -traceback -fpe:0 -debug all
Any info on this would help me immensely!
Thanks,
Ben
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ben,
Yes, this is a reported bug with idb. I've confirmed it on my 10.5.4 system and ifort 10.1. This bug is being investigated by our developers.
ron
Yes, this is a reported bug with idb. I've confirmed it on my 10.5.4 system and ifort 10.1. This bug is being investigated by our developers.
ron

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