• 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: Where to look for the replacement for a deprecated API?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where to look for the replacement for a deprecated API?


  • Subject: Re: Where to look for the replacement for a deprecated API?
  • From: Ken Thomases <email@hidden>
  • Date: Mon, 09 Dec 2013 23:13:00 -0600

On Dec 9, 2013, at 9:08 PM, email@hidden wrote:

> If you use raise, and you are running under the debugger, your program will stop in the main thread (that gets all the signals sent to the process in general) and you'll have to go hunting for the thread that actually raised the signal.
>
> Better to use:
>
> pthread_kill (pthread_self(), SIGINT)
>
> then it will deliver the thread to the one that raised the exception, and the debugger will more usefully blame the stop on that thread.

I would think that the Debugger() call probably more closely corresponds to SIGTRAP than SIGINT.

Regards,
Ken


 _______________________________________________
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: Where to look for the replacement for a deprecated API?
      • From: Jens Alfke <email@hidden>
References: 
 >Where to look for the replacement for a deprecated API? (From: Beinan Li <email@hidden>)
 >Re: Where to look for the replacement for a deprecated API? (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Where to look for the replacement for a deprecated API? (From: Beinan Li <email@hidden>)
 >Re: Where to look for the replacement for a deprecated API? (From: email@hidden)

  • Prev by Date: Re: Where to look for the replacement for a deprecated API?
  • Next by Date: Re: Xcode 5 Core Data mapping model editor can't drag-rearrange items?!
  • Previous by thread: Re: Where to look for the replacement for a deprecated API?
  • Next by thread: Re: Where to look for the replacement for a deprecated API?
  • Index(es):
    • Date
    • Thread