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 14:43:31 +0100
> Following Chris Hanson's blog entry
> (http://chanson.livejournal.com/119578.html), I have created a
> custom executable
> and am injecting the my octest code into that which is working
> fine insofar as the tests run correctly.
>
> The problem I'm having is when I need to debug the unit tests
> and set a breakpoint in the framework code. No matter what
> I've tried
> the breakpoint is never active, it's always displayed as a
> yellow outline breakpoint which I understand is because Xcode
> doesn't think
> that code is loaded.
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.
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