• 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: Failure on unarchiving a NSBezierPath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure on unarchiving a NSBezierPath


  • Subject: Re: Failure on unarchiving a NSBezierPath
  • From: "Kyle Sluder" <email@hidden>
  • Date: Mon, 28 Apr 2008 11:56:06 -0400

On Mon, Apr 28, 2008 at 11:45 AM, Michael Ash <email@hidden> wrote:
> Nothing is being obstructed. The logged errors happen after the
> primary problem occurs. If the primary problem were logging errors,
> they would appear before the ones that are caused by the lack of an
> error assignment. If nothing appears there, then nothing is being
> logged.

Not necessarily true in the general case.  The semantics of buffered
output may interfere, especially if instead of just sending
unrecognized selectors to a random object the code were sending
messages to a pointer off in la-la land.  It's always a nightmare to
watch students toss printf() everywhere in their C code in an attempt
to figure out where the program is crashing and then not see messages
they know should be displayed.

> It certainly makes sense to fix this problem. An easy bug should
> always be fixed when the opportunity arises. But it's not hurting
> efforts to fix the larger problem as it stands.

I'd tend to disagree slightly with the latter statement; first, it's a
distraction, and secondly it could potentially make running the code
in gdb or whatnot a problem (how do you break on an error that's
thrown when the error itself is non-deterministic?).  Again, I'm
thinking of the general case, and in this situation there's no reason
*not* to fix the known bug first.  That's all I'm asking get done so
that the number of "safe" debugging options increases.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Failure on unarchiving a NSBezierPath
      • From: Jens Alfke <email@hidden>
References: 
 >Failure on unarchiving a NSBezierPath (From: an0 <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: Jens Alfke <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: an0 <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: "Kyle Sluder" <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: an0 <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: "Kyle Sluder" <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: "Michael Ash" <email@hidden>)
 >Re: Failure on unarchiving a NSBezierPath (From: "Michael Ash" <email@hidden>)

  • Prev by Date: Re: Failure on unarchiving a NSBezierPath
  • Next by Date: Re: Failure on unarchiving a NSBezierPath
  • Previous by thread: Re: Failure on unarchiving a NSBezierPath
  • Next by thread: Re: Failure on unarchiving a NSBezierPath
  • Index(es):
    • Date
    • Thread