• 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: Debugging SenTestingKit UnitTests on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging SenTestingKit UnitTests on Leopard


  • Subject: Re: Debugging SenTestingKit UnitTests on Leopard
  • From: Christopher Friesen <email@hidden>
  • Date: Tue, 13 Nov 2007 11:48:27 -0800


On Nov 12, 2007, at 2:26 PM, Chris Hanson wrote:


What happens is that my app either crashes under the debugger as soon as I have something more complicated than NSLog(@"got here"); in my test - or that I get the output from the tests running on the console (and I can see there that my tests do get handled by OCUnit) but the debugger does not stop on my breakpoints.

Hmm, that should work. One thing that I have run into is that due to the way gdb launches applications in Xcode 3.0 -- which I think changed rather late in the game -- you may be injecting your tests into the shell that is being used to launch your application, or into one of the commands it runs, which probably won't be too happy.



This is not something new, GDB has always started programs this way in Xcode.


-Christopher Friesen

_______________________________________________
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: Debugging SenTestingKit UnitTests on Leopard
      • From: Chris Hanson <email@hidden>
References: 
 >Debugging SenTestingKit UnitTests on Leopard (From: Martin Häcker <email@hidden>)
 >Re: Debugging SenTestingKit UnitTests on Leopard (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: Can't trace into an Obj-C call?
  • Next by Date: Change Application Name
  • Previous by thread: Re: Debugging SenTestingKit UnitTests on Leopard
  • Next by thread: Re: Debugging SenTestingKit UnitTests on Leopard
  • Index(es):
    • Date
    • Thread