Re: Stopping on objc exceptions in Xcode
Re: Stopping on objc exceptions in Xcode
- Subject: Re: Stopping on objc exceptions in Xcode
- From: Glenn Andreas <email@hidden>
- Date: Mon, 26 Jul 2004 09:14:25 -0500
At 8:49 AM -0500 7/26/04, Mark A. Stratman wrote:
I'm sorry if this answer is painfully obvious, or readily available.
I tried googling and searching the xcode documentation.
How can you stop debugging on objective c exceptions in Xcode?
Essentially what I'm trying to do is find out where it's occurring
(a "*** -[NSCFArray objectAtIndex:]: index (1) beyond bounds (1)"
message, which I assume is an NSRangeException).
I see the "stop on C++ catch/throw" options, but can't find a way to
make it stop on NSExceptions. Does anyone know, or can push me in
the right direction?
echo "fb -[NSException raise]" > ~/.gdbinit
(or add that command to an already existing .gdbinit file).
--
Glenn Andreas email@hidden
mondo blobbo, Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
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.