Mailing Lists: Apple Mailing Lists

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

Re: XCode 2.0 breakpoints within static library broken?.



In Xcode 2.0 we added a "Lazy Symbol Loading" mechanism. We defer reading symbol information till we know we need it, and that makes Xcode start up faster on big projects. However, this depends on knowing which shared library a particular source file belongs to. If you have a source file in a static library target, we don't know which shared library/executable the static library target is built into, and so we don't read the symbol information when we need to.

The workaround in Xcode 2.0 is to manually raise the load level for the library in question. See the Debugging section of the Xcode 2.0 release notes for details on how to do this.

Jim


On May 20, 2005, at 5:59 AM, Derek Denyer wrote:

I've just upgraded to 10.4.1 & XCode 2.0, and now have a problem setting breakpoints within my static libs. I can set breakpoints using the gdb command line in the console, but not by selecting the same line in the source code. Can anyone suggest a fix or workaround (I've already manually cleaned and rebuilt the project).

Regards, Derek
--
42.7% of all statistics are made up on the spot.

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

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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >XCode 2.0 breakpoints within static library broken?. (From: Derek Denyer <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.