• 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: "Ian J. Wessman" <email@hidden>
  • Date: Fri, 15 Feb 2008 12:07:19 -0800

On Feb 15, 2008, at 11:20 AM, Chris Espinosa wrote:

Some questions:

• What do you mean by "view"? Do they not show up in the Variables pane of the debugger, but others do?

Right. See below.

• What do you mean by "most?" Some do, some don't?

Just figured out that it's only showing variables that are declared within the current scope. So variables originally declared in the interface for my class don't show.


• Are you sure you're debugging your Debug configuration?

My active build config is 'Debug', which has the settings that I mentioned previously.


• If you open the Expressions window, can you enter your locals into it and see their values?

Yes, that works fine. Was unaware it existed. Nice.

• If you open the gdb console and type "p _mySecretVar" does it print the value?

Yes. I can print these objects without issue.

• Are you talking about C++ ivars or Objective-C ivars?

All Objective-C.

• What's your Debug Information Format?

Not sure exactly what you're looking for, but... In the Variables pane, in Locals, it doesn't seem to matter if I show or hide types, enable or disable data formatters, etc. By default, set to Natural. Does that answer the question?



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


References: 
 >Losing locals in debugger (From: Ian J.Wessman <email@hidden>)
 >Re: Losing locals in debugger (From: Chris Espinosa <email@hidden>)

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