• 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
Re: Xcode 2.3: enums in debugger are <incomplete type> & more
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.3: enums in debugger are <incomplete type> & more


  • Subject: Re: Xcode 2.3: enums in debugger are <incomplete type> & more
  • From: Lawrence Gold <email@hidden>
  • Date: Mon, 5 Jun 2006 13:13:06 -0600

On Jun 5, 2006, at 12:54 PM, Robert J. Lang wrote:

Hi,

Since upgrading to Xcode 2.3 and converting my project to DWARF (Generate
Debug Symbols is on with level -gfull), I find that for enumerated type
variables that were declared within a class (e.g.


Class MyClass {
public:
    typedef enum { SOMETHING1, SOMETHING2 } SomeEnum;
...
}

when stopping at a breakpoint in the debugger, all variables of type
SomeEnum display a value of "<incomplete type>" in the debugger (although if
I turn on Show Types, the type is displayed properly as "enum SomeEnum").
Any hints on how to persuade the debugger to show enum values again?


On a possibly related note, the "step over" command in the debugger now
sometimes jumps into a new, unrelated header file rather than stepping to
the next line of code in the file. (Usually it jumps to the same line of the
header file no matter where the breakpoint was set.) Also, the routine at
the top of the call stack is unrelated to the line displayed in the bottom
of the debugger pane. Does this description suggest any approaches for a
fix?

Did you ever use dsymutil to generate a .dSYM bundle? If so, drill down into your application bundle to see if it's still there. If so, it could be throwing your debugging off.



_______________________________________________ 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: Xcode 2.3: enums in debugger are <incomplete type> & more
      • From: "Robert J. Lang" <email@hidden>
References: 
 >Xcode 2.3: enums in debugger are <incomplete type> & more (From: "Robert J. Lang" <email@hidden>)

  • Prev by Date: Re: GDB no longer suppors "set unmangle"?
  • Next by Date: Custom C rule not used for compiling all .c files
  • Previous by thread: Xcode 2.3: enums in debugger are <incomplete type> & more
  • Next by thread: Re: Xcode 2.3: enums in debugger are <incomplete type> & more
  • Index(es):
    • Date
    • Thread