Re: Trouble debugging unit tests of framework
Re: Trouble debugging unit tests of framework
- Subject: Re: Trouble debugging unit tests of framework
- From: "Paul Sanders" <email@hidden>
- Date: Thu, 22 Apr 2010 21:50:47 +0100
> When this happens, I have had some success typing
'sha app all' (no quotes, = shorthand for 'sharedlibrary apply-load-rules all')
in the console
> after the relevant code has been loaded. Then,
typing 'i b' (info breakpoints) will tell you if your pending breakpoints have
been resolved or not.
[Addendum]
Another thing that will upset gdb is if the source files
are not in the same place as they were when the framework was built. If
they have moved, set up a symlink from their original location to the new
one. I find this a useful trick when debugging an app built on one machine
but running on another - it saves having to copy across all the source
files. I believe also the .o files (or .dsym file, if you ran dsym
when you built the framework) will need to be where gdb expects to find
them.
Paul Sanders.
|
_______________________________________________
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