Re: Strange Error with Singleton Class
Re: Strange Error with Singleton Class
- Subject: Re: Strange Error with Singleton Class
- From: Marc Weil <email@hidden>
- Date: Thu, 13 Feb 2003 07:21:25 -0500
Ooh, thanks for that! I thought I could only set breakpoints with line
numbers, this is verrrrry interesting :-). I did that and found that the
problem was actually in another method called by an -init method called by
the -init method that I was having problems with. This method was loading
data from an XML file into an NSDictionary and I made a typo with one of the
key names, and NSNumber didn't like that too much since I was supplying one
of its class convenience methods with <nil>, so it was whining.
Thanks!
Marc Weil
--
"Software exists to solve your problems. We exist to make the problems."
Microsoft
On 2/12/03 10:32 PM, "Greg Hulands" <email@hidden> wrote:
>
in gdb do "b [NSException raise]" and it will break when it posts the
>
exception. You will then be able to traverse the stack to see what is
>
causing it.
>
>
Greg
>
On Thursday, February 13, 2003, at 10:22 AM, Marc Weil wrote:
_______________________________________________
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.