Re: Where to look for the replacement for a deprecated API?
Re: Where to look for the replacement for a deprecated API?
- Subject: Re: Where to look for the replacement for a deprecated API?
- From: Jens Alfke <email@hidden>
- Date: Tue, 10 Dec 2013 07:33:38 -0800
On Dec 9, 2013, at 9:13 PM, Ken Thomases < email@hidden> wrote: 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.
I just tested this, and both SIGINT and SIGTRAP seem to work fine in Xcode 5.0.2 (in a Mac OS target.)
—Jens |
_______________________________________________
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