• 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: Setting Debug Mode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Debug Mode?


  • Subject: Re: Setting Debug Mode?
  • From: Mark Wagner <email@hidden>
  • Date: Mon, 12 Sep 2011 16:17:30 -0700

On Mon, Sep 12, 2011 at 10:35, Todd <email@hidden> wrote:
> XCode 3.2.6 and 10.6.8, targeting 10.4u SDK
> I am taking over on a project that just has one 'active target' and I cannot
> tell if it is release or debug.
> What is happening is I am getting some EXEC_BAD_ACCESS and when I try and
> ass a variable to the expression window I get an 'unable to access 'variable
> name'' message in the debugger console.
> I recall this could happen if there was no debug target...
> I build the target and then do a build and debug, my break points are
> working, etc as well
> Any thoughts?

There's no such thing as "debug mode" or a "debug target" inherent in
Xcode.  Typically, what distinguishes a debugging target from a
release target is that the debugging target is set to generate debug
symbols and is not optimized, while a release target uses some level
of optimization.

An "Unable to access variable" message means either no debug symbols
were generated, or that the variable in question was optimized out of
existence.

--
Mark Wagner
 _______________________________________________
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: Setting Debug Mode?
      • From: Jeffrey Walton <email@hidden>
References: 
 >Setting Debug Mode? (From: Todd <email@hidden>)

  • Prev by Date: Re: Setting Debug Mode?
  • Next by Date: Re: Error on deleting pointer
  • Previous by thread: Re: Setting Debug Mode?
  • Next by thread: Re: Setting Debug Mode?
  • Index(es):
    • Date
    • Thread