RE: breakpoints ignored while running unit tests! Why?
RE: breakpoints ignored while running unit tests! Why?
- Subject: RE: breakpoints ignored while running unit tests! Why?
- From: "Karan, Cem (Civ, ARL/CISD)" <email@hidden>
- Date: Fri, 5 Sep 2008 15:23:06 -0400
- Thread-topic: breakpoints ignored while running unit tests! Why?
Thanks, but this doesn't work for me for some reason. About the third
iteration of trying to set up the environment variables, my machine
kernel paniced, which is pretty impressive considering I'm developing
under a non-priveleged account, and all my code lives in user space.
This should NOT be this hard! Any members of the Xcode dev team know
how to get debugging working with unit tests? FWIW, I'm running OS X
10.5.4 (no developer seeds on this machine), and I'm running Xcode 3.1
(the version that came with the 'final' version of the iPhone SDK)
Thanks,
Cem Karan
-----Original Message-----
From: Philippe Casgrain [mailto:email@hidden]
Sent: Wednesday, September 03, 2008 4:07 PM
To: Karan, Cem (Civ, ARL/CISD)
Cc: xcoders
Subject: Re: breakpoints ignored while running unit tests! Why?
On 3-Sep-08, at 15:07 , Karan, Cem (Civ, ARL/CISD) wrote:
I decided to convert my homegrown unit tests to Xcode's unit
test bundle as described in:
http://developer.apple.com/documentation/DeveloperTools/Conceptual/UnitT
esting/UnitTesting.html
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/Unit
Testing/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?
http://chanson.livejournal.com/120740.html
_______________________________________________
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