• 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
not debuggable?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

not debuggable?


  • Subject: not debuggable?
  • From: Torsten Curdt <email@hidden>
  • Date: Tue, 10 Jun 2014 11:47:22 +0200

I got this iOS project where I access the calendar - and I am
completely baffled.

    [store requestAccessToEntityType:EKEntityTypeEvent
completion:^(BOOL granted, NSError *accessError) {
        if (granted) {

            NSString *calendarIdentifier = [[NSUserDefaults
standardUserDefaults] valueForKey:kCalendarIdentifier];

            EKCalendar *calendar;

            NSLog(@"calendarIdentifier: %@", calendarIdentifier);

            if (calendarIdentifier) {
                calendar = [store calendarWithIdentifier:calendarIdentifier];
            }

            NSLog(@"calendar: %@", calendar);


When running on the device I only see

  calendarIdentifier: ...

The next line never shows!

  calendar: ...

I don't see how that is even possible.

So I try the debugger. The debugger should catch all exceptions and I
set a breakpoint to step through. But when I step over
"calendarWithIdentifier:" it just continues(!) the app and also never
reaches the second log line!

Whaaat!?

Anyone a clue what could be going wrong here? ...or what else to try?


cheers,
Torsten
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: not debuggable?
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Re: Advice on document handling
  • Next by Date: Re: not debuggable?
  • Previous by thread: Re: Other app blocks mine from opening my documents
  • Next by thread: Re: not debuggable?
  • Index(es):
    • Date
    • Thread