debugger not displaying type double <incomplete type>???
debugger not displaying type double <incomplete type>???
- Subject: debugger not displaying type double <incomplete type>???
- From: Abe Stephens <email@hidden>
- Date: Sun, 22 May 2005 13:53:03 -0700
Hi,
I am attempting to debug a large code base which is divided into a dozen
or so static libs, the code I am interested in is in one object of one
of the static libs.
The problem is that when I stop at a break point, all of the double
variables are labeled <incomplete type> for example:
int i0, i1;
i0 = 1; i1 = 100;
double d0, d1;
d0 = d1 = 101.0;
float f0, f1;
f0 = f1 = 2.2;
In this case the debugger would correctly report i0, i1, f0, f1. But d0
and d1 are reported as incomplete type. If I manually cast them to
double in the expression window, I get the correct result. I've tried
making a simple test program on the command line and compiling it with
g++ -g and running gdb manually, and I get the values I expect from d0
and d1.
I also see the error: "mi_cmd_stack_list_frames: Not enough frames in
stack." from the debugger in xcode. I have tried using -g -ggdb -gfull
on the compiler command line. Do I have to add something to the linker
command line explicitly?
Any advice?
(Xcode 2.0 running on Tiger).
Thanks you--Abe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden