Re: Exceptions
Re: Exceptions
- Subject: Re: Exceptions
- From: Andreas Monitzer <email@hidden>
- Date: Tue, 29 May 2001 00:21:36 +0200
On Monday, May 28, 2001, at 11:38 , Steve Gehrman wrote:
When I run my app I'm getting....
May 28 14:27:34 MyApp[3003] Exception raised during posting of
notification. Ignored. exception: *** -[NSCFArray addObject:]: attempt
to insert nil
Is there a way to get gdb to stop when it hits an exception like this?
http://www.cocoadevcentral.com/qa/showpage.php?show=00000007.php
// Question Two
Is it possible to make my project in PB break whenever a NSException is
raised?
Answers
at the gdb prompt type
b -[NSException raise]
answer by: Henri Lamiraux
If you want to break on something that is not yet loaded, use "fb" rather
than "b".
answer by: Douglas Davidson
References: | |
| >Exceptions (From: Steve Gehrman <email@hidden>) |