• 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: debug souce code in a static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug souce code in a static library


  • Subject: Re: debug souce code in a static library
  • From: Alastair Houghton <email@hidden>
  • Date: Mon, 3 Oct 2005 09:24:28 +0100

On 3 Oct 2005, at 08:24, Norio Ota wrote:

Hi,

I have a static library and its code. My application links the library but I can't see the code of the library, not assemble code. As Xcode 1.5 can do that, I expect Xcode 2.1 do the same thing. I probably miss something for displaying source code while debugging on Intel-based Mac.
Would you tell me how to set Xcode 2.1 for that?

Are you using a separate project for the library? Is the project included in
your application's project? If so, it could be the same problem I was having
the other day... when you're using that type of set-up, Xcode 2.1 builds the
sub-project using the configuration name selected in the top-level project.
The upshot of this is that the debug configuration names need to match in the
library project and the application project, otherwise the library sub-project
won't be built in debug configuration (hence no debug symbols, hence the
behaviour you're seeing).


The solution is to rename the configuration names so that they match, or add
appropriate configurations to your library project.


Kind regards,

Alastair.

--
http://www.alastairs-place.net


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >debug souce code in a static library (From: Norio Ota <email@hidden>)

  • Prev by Date: debug souce code in a static library
  • Next by Date: XCode 2.1 Errors and Warnings glitch
  • Previous by thread: debug souce code in a static library
  • Next by thread: XCode 2.1 Errors and Warnings glitch
  • Index(es):
    • Date
    • Thread