Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29273 Discussions

Can't print array values using idb, when debugging Mac OS X ifort 64 executable

consumer2000
Beginner
471 Views
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
0 Kudos
1 Reply
Ron_Green
Moderator
471 Views
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
0 Kudos
Reply