• 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
Debugging on Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging on Leopard


  • Subject: Debugging on Leopard
  • From: Kenny Leung <email@hidden>
  • Date: Tue, 13 Nov 2007 08:45:58 -0800

Hi All.

Here's a tip that would have saved me a couple of days in debugging. Hopefully it will save somebody else some time.

I always have a breakpoint set on -[NSException raise] in order to trap any exceptions that get hit. On Tiger and previous this has never failed me, but on Leopard, not all exceptions go through - [NSException raise]. So during Leopard developement, some exceptions went unnoticed. It's safer if you also break on +[NSException raise:format] and objc_exception_throw. Hopefully there are no other paths through which an exception can be thrown.

-Kenny

_______________________________________________

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: Debugging on Leopard
      • From: Chris Hanson <email@hidden>
    • Re: Debugging on Leopard
      • From: "Clark S. Cox III" <email@hidden>
  • Prev by Date: RE: Change a NSMenu's shape?
  • Next by Date: Re: Change a NSMenu's shape?
  • Previous by thread: MEETING: Chicago CocoaHeads / CAWUG - Leopard Dev Tools - Tuesday November 13th 7:00 PM
  • Next by thread: Re: Debugging on Leopard
  • Index(es):
    • Date
    • Thread