Re: Debugger() and iOS
Re: Debugger() and iOS
- Subject: Re: Debugger() and iOS
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 13 Jul 2011 16:11:04 -0600
On Jul 13, 2011, at 2:53 PM, mark wrote:
> Is the Debugger() function supported in iOS? (This is for testing purposes only.)
No.
> I get a 'Symbol not found' error from the linker.
> What framework do I have to include?
That function is a left-over from the old Macintosh Toolbox, and isn't available on iOS. It's only available on Mac OS X because it's part of Carbon.
> If not, is there an equivalent?
Well, you could create your own work-alike function, like this:
void Debugger(void)
{
printf("Debugger() was called!\n");
}
Then set a symbolic breakpoint on the function in Xcode's debugger. I haven't tried that, but it ought to work if you really need the functionality.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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