• 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: Strange Error with Singleton Class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Strange Error with Singleton Class (From: Greg Hulands <email@hidden>)

  • Prev by Date: Re: Creating Menu Items Programmatically.
  • Next by Date: Re: Limiting NSString length without knowing the length
  • Previous by thread: Re: Strange Error with Singleton Class
  • Next by thread: Text field cell plus menu?
  • Index(es):
    • Date
    • Thread