Re: Setting Debug Mode?
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