Re: Debug libraries for 10.6.1
Re: Debug libraries for 10.6.1
- Subject: Re: Debug libraries for 10.6.1
- From: Aurélien Hugelé <email@hidden>
- Date: Fri, 9 Oct 2009 16:21:30 +0200
A solution to this problem was given by Ben Trumbull:
Do not install all the debug libraries, only install the one(s) you
really need.
Then rename them XXXX_myDebug instead of XXXX_debug
then use the DYLD_IMAGE_SUFFIX=_myDebug envt var.
It worked for me, by reducing the number of _debug involved libraries.
PS: the renaming only serves because I encountered many bug in Xcode
when using the popup button in the executable info... using
DYLD_IMAGE_SUFFIX seems better.
Sincerely,
Aurelien
On 7 oct. 2009, at 20:23, Sean McBride wrote:
On 10/6/09 6:41 PM, James Walker said:
Has anyone succeeded in using the newly released debug and profile
libraries for 10.6.1? After installing them, I made a new Cocoa app
from the template, set its executable to use a debug suffix, and
built
and ran. The app immediately got SIGABRT.
I got a different error when trying to do it with a Carbon-based app:
dyld: Symbol not found: _GetNativeWindowFromWindowRef
Referenced from: /System/Library/Frameworks/AGL.framework/Versions/
A/AGL
Expected in:
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon_debug
in /System/Library/Frameworks/AGL.framework/Versions/A/AGL
I installed them, rebooted, and tried the simple:
$ export DYLD_IMAGE_SUFFIX=_debug
$ open /Applications/TextEdit.app/
2009-10-07 14:01:35.446 open[179:903] Assertions enabled
memory_pressure: 0memory_pressure: 0Abort trap
Then tried using it on my own app from Xcode and :
dyld: Symbol not found: _DisableSecureEventInput
So I guess they're kinda useless. :( Damn, I'd been looking forward
to
using them too!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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
_______________________________________________
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