• 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: Debugger() and iOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Debugger() and iOS (From: mark <email@hidden>)

  • Prev by Date: Debugger() and iOS
  • Next by Date: Re: CAOpenGLLayer content size
  • Previous by thread: Debugger() and iOS
  • Next by thread: Cocoaheads?
  • Index(es):
    • Date
    • Thread