• 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
breakpoints ignored while running unit tests! Why?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

breakpoints ignored while running unit tests! Why?


  • Subject: breakpoints ignored while running unit tests! Why?
  • From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
  • Date: Wed, 3 Sep 2008 15:07:54 -0400
  • Thread-topic: breakpoints ignored while running unit tests! Why?

Title: breakpoints ignored while running unit tests! Why?

I decided to convert my homegrown unit tests to Xcode's unit test bundle as described in:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/UnitTesting/UnitTesting.html

but now I'm having a new and weird problem; my breakpoints are ignored when I run the unit tests.  That is, I have a test that uses the STAssertThrows() macro that should be throwing, but isn't.  I put a breakpoint on that line, but Xcode blows right past it, and right past any other breakpoints I have.  How do I get Xcode to honor my breakpoints?

I'm running Xcode 3.1 on 10.5.4, and the project is a generic Cocoa Application.

Thanks,
Cem Karan

 _______________________________________________
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: breakpoints ignored while running unit tests! Why?
      • From: Philippe Casgrain <email@hidden>
  • Prev by Date: Re: How to build 64-bit for current architecture only?
  • Next by Date: Re: breakpoints ignored while running unit tests! Why?
  • Previous by thread: Re: Setting version numbers and strings using shell scripts and xcodebuild
  • Next by thread: Re: breakpoints ignored while running unit tests! Why?
  • Index(es):
    • Date
    • Thread