Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DYLD_IMAGE_SUFFIX=_debug broken again




The _debug libraries technique for debugging <http://devworld.apple.com/technotes/tn2004/tn2124.html#SECDEBUGLIB> was broken in Xcode tools 2.2.

It seems to be broken, in a different way, by Xcode 2.3 under OS X 10.4.6.

(1) The standard demo:
$ DYLD_IMAGE_SUFFIX=_debug /Applications/TextEdit.app/Contents/MacOS/ TextEdit


emits a couple of messages:
2006-06-03 15:41:48.927 TextEdit[4983] CFLog (0): Assertions enabled
2006-06-03 15:41:49.059 TextEdit[4983]: DebugAssert: Third Party Client: sClientMessageProc == nil CoreDockRegisterClient_AlreadyRegistered [CoreDocServices.subproj/ DockClient.c:157]


but fails to launch TextEdit.

(2) Launching a Carbon app from Xcode with the _debug suffix set in the executable inspector also fails, with obscure messages:

Program loaded.
sharedlibrary apply-load-rules all
Attaching to program: `/Users/rp/Test/build/Debug/Test.app/Contents/ MacOS/Test', process 6266.
mi_cmd_stack_list_frames: Not enough frames in stack.
mi_cmd_stack_list_frames: Not enough frames in stack.
Unable to disassemble objc_msgSend_rtp.


Is there any workaround?

Robert P.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.