• 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
(no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


  • Subject: (no subject)
  • From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
  • Date: Wed, 10 Sep 2008 08:37:02 -0400

No, nothing about his blog; I just ran across the Xcode Unit Testing Guide, decided to use the unit tests, and discovered I couldn't get breakpoints to work right.  If I can get them working 100%, then the unit testing framework's value goes up considerably for me.

If this discussion is getting annoying for most people, maybe CH, Pat, and I should take it offline?

Thanks,
Cem Karan

----------------------------------------------------------------------

Message: 1
Date: Tue, 9 Sep 2008 19:57:22 +0100
From: "Jonathan del Strother" <email@hidden>
Subject: Re: How do you debug your Cocoa unit tests?
To: "Pat McGee" <email@hidden>
Cc: email@hidden
Message-ID:
        <email@hidden>
Content-Type: text/plain; charset=ISO-8859-1

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

  • Prev by Date: RE: breakpoints ignored while running unit tests! Why?
  • Next by Date: Due to recent events ... NDA?
  • Previous by thread: Re: adding object to a Xcode project
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread