• 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: Fix and Continue Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: Fix and Continue Question (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Fix and Continue Question
  • Next by Date: Multithreaded app runs, but not in dubeugger
  • Previous by thread: Re: Fix and Continue Question
  • Next by thread: Re: Fix and Continue Question
  • Index(es):
    • Date
    • Thread