gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Allowing Applications to continue after exception...


From: Richard Frith-Macdonald
Subject: Re: Allowing Applications to continue after exception...
Date: Thu, 5 Feb 2009 05:48:47 +0000


On 4 Feb 2009, at 20:23, Gregory Casamento wrote:

I definitely think we should implement something similar. It would help a great deal with some porting efforts.

On Wed, Feb 4, 2009 at 3:03 PM, David Chisnall <address@hidden> wrote:
On 4 Feb 2009, at 18:53, Gregory Casamento wrote:

In some cases on Mac OS X I have observed that exceptions which are not fatal on Mac sometimes ARE fatal on GNUstep. I believe we should change the logic which deals with exceptions to add a "continue" button and only show the panel when the application is running in debug mode. This would allow the application to continue when recovery is possible.

Does anyone have any thoughts on this?

The OS X behaviour appears to be for each runloop iteration to be wrapped in a @try{} block with the exception being NSLog'd if it occurs during the runloop. This is quite convenient for debugging, since you can just read the log and find out where the exception happened, without having to

Logging any exception in the application main runloop ought to be pretty easy to implement. Would we wnat to look at other bits of code running event loops, and trap exceptions there too?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]