• 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: Printing an NSView crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Printing an NSView crashes


  • Subject: Re: Printing an NSView crashes
  • From: Erik Buck <email@hidden>
  • Date: Wed, 8 Nov 2006 07:03:05 -0800 (PST)

Usually, the easiest bugs to correct are the ones that predictably (repeatably) crash the application.  I always tell junior programmers that crashing bugs are GOOD during development.  Subtle "just not working right but doesn't crash" bugs are the WORST!  That is one good reason to use the assertion macros in your code (to cause a crash close to the problem instead of later...)

  Why are repeatable crash bugs good ?  because you can very easily look at the stack trace in the debugger and or the stack trace in a core file and determine what went wrong.

  Sadly, you have not provided the stack trace from the crash, so I can't help you.  Fortunately, you probably don't need my help:  The answer is right there in the debugger for you to see.

 _______________________________________________
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

  • Prev by Date: Who and why creates ~/Library/Caches/<my application> and how to stop it?
  • Next by Date: Binding Cocoa checkboxes to each other?
  • Previous by thread: Printing an NSView crashes
  • Next by thread: How is procedure called according to cocoa espresso code
  • Index(es):
    • Date
    • Thread