• 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: Losing locals in debugger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Losing locals in debugger


  • Subject: Re: Losing locals in debugger
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 15 Feb 2008 11:20:27 -0800


On Feb 15, 2008, at 8:35 AM, Ian J.Wessman wrote:

Somehow, after spending time away from my project, I've suddenly lost the ability to view most local instance variables in the debugger.

I was using Xcode 2.4.1 (didn't work), upgraded to 2.5 (didn't work), even uninstalled all dev tools and installed 2.5 (didn't work), all on 10.4.11.

Note that the instance variables that I had trouble with are prepended with underscores (i.e. _mySecretVar). I know the NamingMethods article frowns upon this, but only ivars are being named this way, not methods. Besides, changed the names to lack underscores, cleaned all, recompiled, and was left with the same mess.

For reference, my build settings:
- Optimization: None (saw the prior posts on this)
- Verbose undefined symbols: YES
- Strip Linked Product: NO
- Strip Style: Debugging Symbols
- Strip Debug Symbols During Copy: NO
- Generate Debug Symbols: YES

Is there something I'm missing?

Not that I can tell.

Has Apple chosen to enforce their reserved naming conventions?

Nope.

Some questions:

• What do you mean by "view"? Do they not show up in the Variables pane of the debugger, but others do?
• What do you mean by "most?" Some do, some don't?
• Are you sure you're debugging your Debug configuration?
• If you open the Expressions window, can you enter your locals into it and see their values?
• If you open the gdb console and type "p _mySecretVar" does it print the value?
• Are you talking about C++ ivars or Objective-C ivars?
• What's your Debug Information Format?


Chris _______________________________________________
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: Losing locals in debugger
      • From: "Ian J. Wessman" <email@hidden>
References: 
 >Losing locals in debugger (From: Ian J.Wessman <email@hidden>)

  • Prev by Date: Re: No symbols in DSYM file?
  • Next by Date: Re: Interesting problem with Xcode 3.0
  • Previous by thread: Losing locals in debugger
  • Next by thread: Re: Losing locals in debugger
  • Index(es):
    • Date
    • Thread