Re: ZeroLink causing odd errors
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