• 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: how to crash on normally ignored exceptions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to crash on normally ignored exceptions


  • Subject: Re: how to crash on normally ignored exceptions
  • From: Vince DeMarco <email@hidden>
  • Date: Wed, 20 Nov 2002 21:17:48 -0800

On Wednesday, November 20, 2002, at 03:39 PM, Brian Redman wrote:

I'd like my program to crash when it gets any sort of exception so I can examine the situation in the debugger. I haven't found a way to do this. I'm trying to isolate the code by surrounding possible areas with NS_DURING/HANDLER macros and and aborting. Then do a stepwise refinement.

At the moment I'm trying to find the cause of an "NSImageCacheException" Can't cache image. The exception occurs unpredictably over the course of days of running time. There is plenty of disk space.

Any advice regarding the NSImageCacheException or the larger "just crash" question?


Set a breakpoint on -[NSException raise] like this

in the gdb console type this

b -[NSException raise]


vince

Thanks,

brian
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: how to crash on normally ignored exceptions
      • From: Marcel Weiher <email@hidden>
    • Re: how to crash on normally ignored exceptions
      • From: Brian Redman <email@hidden>
References: 
 >how to crash on normally ignored exceptions (From: Brian Redman <email@hidden>)

  • Prev by Date: Re: Setting the Format for Dates
  • Next by Date: Re: how to crash on normally ignored exceptions
  • Previous by thread: Re: how to crash on normally ignored exceptions
  • Next by thread: Re: how to crash on normally ignored exceptions
  • Index(es):
    • Date
    • Thread