• 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: How do you debug your Cocoa unit tests?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How do you debug your Cocoa unit tests?
      • From: Pat McGee <email@hidden>
References: 
 >How do you debug your Cocoa unit tests? (From: Pat McGee <email@hidden>)

  • Prev by Date: How do you debug your Cocoa unit tests?
  • Next by Date: RE: breakpoints ignored while running unit tests! Why?
  • Previous by thread: How do you debug your Cocoa unit tests?
  • Next by thread: Re: How do you debug your Cocoa unit tests?
  • Index(es):
    • Date
    • Thread