Re: Fix and Continue Question
Re: Fix and Continue Question
- Subject: Re: Fix and Continue Question
- From: James Bucanek <email@hidden>
- Date: Thu, 31 Aug 2006 08:58:15 -0700
David Dunham wrote on Thursday, August 31, 2006:
>
>On 30 Aug 2006, at 20:58, Brian Amerige wrote:
>
>> Is there some specific requirement that needs to be met in order to
>> use Fix and Continue?
>
>According to the easily searchable Xcode documentation,
>"you must make sure you build your program using the following settings:
>
>Build using native targets
>Compile your code with GCC version 3.3 or later
>For C++ developers, link your code using ZeroLink
>Build your code without optimizations
>Build your code with debugging symbols enabled"
One more: You must have the Fix & Continue (GCC_ENABLE_FIX_AND_CONTINUE) build setting set.
I'll also add that Fix & Continue has limitations regarding what you can change in the code once you get there:
- You cannot redefine typedef variables, data structures, classes, or function arguments.
- You cannot redefine the stack frame. This means you can't change any of the automatic variables in the function.
- You cannot redefine global variables.
- You cannot make any changes to your program's resources (Info.plist, NIB files, ...)
- You cannot fix a bad reference to a function by renaming the function.
James Bucanek
____________________________________________________________________
Author of Beginning Xcode ISBN: 047175479X
<http://www.beginningxcode.com/>
_______________________________________________
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