Skip navigation.
 
mlRe: how to crash on normally ignored exceptions
FROM : Marcel Weiher
DATE : Thu Nov 21 14:48:03 2002

On Thursday, November 21, 2002, at 06:17  Uhr, Vince DeMarco wrote:

> 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]


Would love to do that, but symbolic breakpoints (always somehwat
flaky), seem to have completely stopped working somtime with Jaguar
and/or the new dev tools.

Marcel

--
Marcel Weiher                Metaobject Software Technologies
<email_removed>        www.metaobject.com
Metaprogramming for the Graphic Arts.  HOM, IDEAs, MetaAd etc.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlhow to crash on normally ignored exceptions Brian Redman Nov 21, 00:39
mlRe: how to crash on normally ignored exceptions Dan Wood Nov 21, 05:55
mlRe: how to crash on normally ignored exceptions Vince DeMarco Nov 21, 06:17
mlRe: how to crash on normally ignored exceptions Brian Redman Nov 21, 06:22
mlRe: how to crash on normally ignored exceptions Marcel Weiher Nov 21, 14:48
mlRe: how to crash on normally ignored exceptions David Remahl Nov 21, 15:02
mlNewbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 18:14
mlRe: Newbie question: chrash on [tableview reloadData] Warren.Burton Nov 21, 19:03
mlRe: Newbie question: chrash on [tableview reloadData] Fritz Anderson Nov 21, 20:25
mlRe: Newbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 20:25
mlRe: Newbie question: chrash on [tableview reloadData] Terje Tjervaag Nov 21, 21:30
mlRe: Newbie question: chrash on [tableview reloadData] Fritz Anderson Nov 21, 21:50
mlRe: how to crash on normally ignored exceptions matt neuburg Nov 22, 14:29
mlRe: how to crash on normally ignored exceptions David Remahl Nov 22, 14:35