• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
debugger not displaying type double <incomplete type>???
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: debugger not displaying type double <incomplete type>???
      • From: Jim Ingham <email@hidden>
  • Prev by Date: Re: warning prebinding disabled because of undefined symbols?
  • Next by Date: XCode creates recursive symlinks??
  • Previous by thread: Re: IB and formatters
  • Next by thread: Re: debugger not displaying type double <incomplete type>???
  • Index(es):
    • Date
    • Thread