• 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: ZeroLink causing odd errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ZeroLink causing odd errors


  • Subject: Re: ZeroLink causing odd errors
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 9 Sep 2005 23:54:49 -0700

On Sep 9, 2005, at 11:36 PM, David Dunham wrote:

I'm struggling with converting a perfectly good CodeWarrior app to Xcode. It'd be nice to debug it. However, the standard debug configuration includes ZeroLink. I don't know for sure that this is the cause of the problem, but I'm getting a crash in a C++ static constructor only in my debug build, so I suspect ZeroLink.

I certainly don't have any Other Linker Flags set.

I didn't find a list of all the times when you have to turn off ZeroLink other than <http://developer.apple.com/documentation/DeveloperTools/Conceptual/ XcodeUserGuide21/Contents/Resources/en.lproj/05_08_bs_linking/ chapter_35_section_9.html> which doesn't address my crash.

ZeroLink shifts fatal link errors to run time from build time. It works best if you don't have any fatal link errors. If your program is well-formed but you're just chasing down bugs, it's very useful in that to do a compile-debug cycle you just need to build the one source you changed; you don't need to relink the whole build product. It also works with Fix and Continue, where you can edit and rebuild a single source file in a running application without even quitting it.


With that said, getting a C++ static constructor in your debug build only doesn't seem like a ZeroLink issue (especially if it links and runs in your Release build).

What's the crash?

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


  • Follow-Ups:
    • Re: ZeroLink causing odd errors
      • From: David Dunham <email@hidden>
References: 
 >ZeroLink causing odd errors (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Xcode preferences not updated, need help
  • Next by Date: Re: Xcode preferences not updated, need help
  • Previous by thread: ZeroLink causing odd errors
  • Next by thread: Re: ZeroLink causing odd errors
  • Index(es):
    • Date
    • Thread