• 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: Stopping on objc exceptions in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stopping on objc exceptions in Xcode


  • Subject: Re: Stopping on objc exceptions in Xcode
  • From: Darrin Cardani <email@hidden>
  • Date: Mon, 26 Jul 2004 16:53:49 -0500

At 2:20 PM -0700 7/26/04, Koen van der Drift <email@hidden> wrote:
On Jul 26, 2004, at 10:03 AM, Clark Cox wrote:

> Put a breakpoint at "-[NSException raise]"

Where can I do that in Xcode?

Koen,
I totally feel your pain. You need to open the debugger console window and type it in. To open the debugger console window, the debugger window needs to be opened, and your app needs to be running. Once you've stopped at a breakpoint, you can type (exactly as below with no extra spaces or it won't work):

break -[NSException raise]

It should break at all Obj-C exceptions from then on.

Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: NSFileManager move/copy to Windows server
  • Next by Date: Re: Stopping on objc exceptions in Xcode
  • Previous by thread: Re: Stopping on objc exceptions in Xcode
  • Next by thread: [newbie] how to do a edit card view as Address Book does?
  • Index(es):
    • Date
    • Thread