Re: NSInvalidArgumentException?
Re: NSInvalidArgumentException?
- Subject: Re: NSInvalidArgumentException?
- From: "Theodore H. Smith" <email@hidden>
- Date: Tue, 24 May 2005 21:08:46 +0100
On 24 May 2005, at 20:32, j o a r wrote:
On 24 maj 2005, at 20.49, Theodore H. Smith wrote:
I'm getting this error in the gdb console. I have no idea what it
means.
I don't actually use addObject anywhere in my project, that's the
oddest thing. And also, this doesn't tell me on which line the error
occurs.
Set a breakpoint to break when exceptions are raised in Cocoa, and
include a full backtrace to the exception in a new message to the
list. Instructions on how to set that breakpoint can be found here
(search for "-[NSException raise]"):
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
XcodeUserGuide20/Contents/Resources/en.lproj/db_controlling_execution/
chapter_40_section_2.html>
Yes, those are instructions on how to set a breakpoint. Breakpoints in
Xcode are no different from any other environment I've used, so I
didn't actually need to read up on those.
But there is something missing for that to be of use to me. Where do I
set the breakpoint? I didn't write the NSException class, so I don't
have the source to NSException to write a breakpoint into it's code.
Obviously there is another way to do this, but I did not see this
explained.
I did a web search for "NSException breakpoint", and I came up with
this "fb -[NSException raise]" (on some developer web-mag), which is to
be put into the ~\.gdbinit file.
Is that what you meant?
--
elfdata.com/plugin/ Industrial strength string processing, made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden