Re: How do you debug your Cocoa unit tests?
Re: How do you debug your Cocoa unit tests?
- Subject: Re: How do you debug your Cocoa unit tests?
- From: "Jonathan del Strother" <email@hidden>
- Date: Tue, 9 Sep 2008 19:57:22 +0100
On Tue, Sep 9, 2008 at 7:53 PM, Pat McGee <email@hidden> wrote:
> Hey folks,
> I'm obviously doing something wrong that I can't figure out. I've tried
> following Chris Hanson's instructions that he put on LJ. No matter what I
> do, I can't get the debugger to breakpoint in a unit test, no matter whether
> I put the breakpoint in the test code or the worker code. I can get it to
> breakpoint just fine in the worker code when I run the real app.
>
> How do you do this on your unit test code?
>
Are you running unit tests during a build phase, or as a custom
executable after everything is built? The latter is the only way of
getting breakpoints to work.
(What's with the sudden burst of unit testing questions in the past
couple of weeks? Did some popular blog link CH's stuff?)
_______________________________________________
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