• 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: debug problem [solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: debug problem [solved]


  • Subject: Re: debug problem [solved]
  • From: Eric Ocean <email@hidden>
  • Date: Sat, 9 Oct 2004 16:06:26 -0700

[Summary: So much for Unit Testing...]

On Oct 9, 2004, at 3:51 PM, Eric Albert wrote:

Also, if you have ZeroLink turned on, try turning it off. I'm not sure how it could cause this, but it can cause things to load differently from how they typically do. That's a complication you might want to avoid here.

It's been off the whole time. Oh wait. Crap. I've got my build on "Test". You know what, I'll bet that the SenTestKit unit tester is calling one of my methods somehow, even though it's not supposed to, and that's causing the file to be rewritten.


[later]

Yep. Dammit. The freaking tester was invoking applicationWillFinishLaunching:, which caused my method to get called. I don't know why that affect the first start after Xcode opened, but at any rate, the fix was to stop using a Test build.

Thanks to everyone who helped. So to answer, how do you get your own code called before main(), the answer is to run the app twice in a row in a "stealthy" manner.

Regards,

Eric Ocean

_______________________________________________
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


References: 
 >debug problem (From: Eric Ocean <email@hidden>)
 >Re: debug problem (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: debug problem
  • Next by Date: Re: Getting a question answered
  • Previous by thread: Re: debug problem
  • Next by thread: Re: debug problem
  • Index(es):
    • Date
    • Thread