Re: XCode/gdb won't break
Re: XCode/gdb won't break
- Subject: Re: XCode/gdb won't break
- From: Jim Ingham <email@hidden>
- Date: Thu, 25 Sep 2008 16:53:16 -0700
Patrick,
Glad to hear that this worked.
If you can come up with a version of your project that you can put in
a bug & send to us which shows your .a files defeating Xcode's attempt
to figure out which source files go into which products, please file a
bug with this project & instructions on how to debug it... Xcode does
try to track all these possibilities, but clearly we're missing some
case...
Jim
On Sep 25, 2008, at 4:42 PM, Patrick Stinson wrote:
That fixed it. Thanks a lot for the detailed explanation - this
problem has cost us quite a bit of time in the last couple of years.
On Wed, Sep 24, 2008 at 2:25 PM, Jim Ingham <email@hidden> wrote:
Try turning off "Load Symbols Lazily" in the Debugging pane of the
Xcode
Preferences. For Lazy Symbol Loading to work Xcode needs to know
what
binary each source file gets built into. Sometimes when you first
build a
static library and then link it into a binary (particularly if the
same
static library gets added to many targets) Xcode can't figure this
out.
You can also work around this by opening the Shared Libraries panel
(from
Run->Show->Shared Libraries) when your app is running and has
loaded the
libraries in question and setting the starting load level to All
for the
libraries you are interested in.
Jim
On Sep 24, 2008, at 3:16 PM, Patrick Stinson wrote:
I'm having trouble getting gdb to break on some of my AudioUnit
breakpoints in XCode. It breaks fine in the AudioUnit code which is
linked directly into the AudioUnit bundle target, but won't break
our
statically linked engine and gui libraries until we step into the
code. The breakpoints seem to be resolved and the debugger breaks on
them once we step into the static libs. I've tried setting the
breakpoints both as symbols and directly in the editor as a line
number.
has anyone ever experienced this problem before?
_______________________________________________
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