• 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: Finding the error...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding the error...


  • Subject: Re: Finding the error...
  • From: "I. Savant" <email@hidden>
  • Date: Wed, 30 Nov 2005 11:23:33 -0500

I'll add this to the list:

http://www.cocoadev.com/index.pl?DebuggingTechniques

--
I.S.


On Nov 30, 2005, at 11:15 AM, Alastair Houghton wrote:

On 30 Nov 2005, at 16:00, malcom wrote:

hello, is there a method to found the error in a situation like this?
http://img480.imageshack.us/my.php?image=ss12bj.jpg

Looks to me like an retain/release problem. Probably something has been released once too often and because it was autoreleased at some point, the crash happens when the autorelease pool tries to release it.


There has been lots written about debugging this type of problem; e.g.

  http://weblog.bignerdranch.com/?p=2

Also see section 3.1 of

  http://www.alastairs-place.net/cocoa/faq.txt

which contains some useful hints.

And if you want to see a comprehensive summary of all of the helpful debugging features in OS X, see TN2124:

  http://developer.apple.com/technotes/tn2004/tn2124.html

Kind regards,

Alastair.

--
http://www.alastairs-place.net


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Finding the error... (From: malcom <email@hidden>)
 >Re: Finding the error... (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: Finding the error...
  • Next by Date: Re: How to interrupt a function
  • Previous by thread: Re: Finding the error...
  • Next by thread: Using Bindings for Tool tips of Table cells?
  • Index(es):
    • Date
    • Thread