[racket] Setting exception handler for GUI message loop

From: Dmitry Cherkassov (dcherkassov at gmail.com)
Date: Fri Aug 22 10:51:26 EDT 2014

> Another possibility is to set the `uncaught-exception-handler` parameter (in the eventspace's main thread).
set as dynamic parameter via `parameterize'?

how do i get to GUI thread to accomplish that?



On Fri, Aug 22, 2014 at 6:37 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> Another possibility is to set the `uncaught-exception-handler`
> parameter (in the eventspace's main thread).
>
> At Fri, 22 Aug 2014 10:37:35 -0400, Matthias Felleisen wrote:
>>
>> Your question is somewhat generic. You will need to equip each callback/event
>> handler with an exn handler that puts the exception into a channel so that
>> another thread can pick it up. -- Matthias
>>
>>
>>
>>
>>
>> On Aug 22, 2014, at 6:58 AM, Dmitry Cherkassov <dcherkassov at gmail.com> wrote:
>>
>> > Hi!
>> >
>> > Is it possible to set an exception handler to GUI message loop, so
>> > that any exception thrown in GUI thread can be handled?
>> >
>> > --
>> > With best regards,
>> > Dmitry
>> > ____________________
>> >  Racket Users list:
>> >  http://lists.racket-lang.org/users
>>
>>
>> ____________________
>>   Racket Users list:
>>   http://lists.racket-lang.org/users



-- 
With best regards,
Dmitry

Posted on the users mailing list.