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: Tue, 9 Sep 2008 17:59:04 -0400
- Thread-topic: breakpoints ignored while running unit tests! Why?
OK, I apologize for the lack of clarity. I've now created a diskimage
with a dummy project that is similar in layout to what I'm doing (but
without any of my real code, of course). The file is 6.1 Mb in size.
Do you want me to email it to you? I figure an actual layout is about
as clear as things can get.
Thanks,
Cem Karan
-----Original Message-----
From: Chris Hanson [mailto:email@hidden]
Sent: Tuesday, September 09, 2008 4:52 PM
To: Karan, Cem (Civ, ARL/CISD)
Cc: xcoders
Subject: Re: breakpoints ignored while running unit tests! Why?
On Sep 9, 2008, at 1:05 PM, Karan, Cem (Civ, ARL/CISD) wrote:
I apologize for taking so long to reply; I broke the build, and
had to
spend some time fixing it.
1) yes, it is FOCU_S tester.app.
2) I do not expect any user actions to hit the breakpoint; that
is, the
unit tests are run when the program is built, and I put a
breakpoint at
the start of one of the test methods.
As I have said several times now, breakpoints will not be hit during
build. The debugger is not used during build at all, even when running
your tests.
You must explicitly debug your test application in order for your unit
test breakpoints to be hit. You do not need to add a menu item or
button to cause your tests to be invoked, you just need to debug the
application that is hosting your tests.
In the future, please be more specific about the exact steps you are
following when you are running into problems. It will help them get
resolved much more quickly.
-- Chris
_______________________________________________
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