[armedbear-devel] No restarts available on error in thread
Evaluating the following (threads:make-thread #'(lambda () (error "foof")) :name "foof") will get you into the debugger. But there's not restart available. As it does not make sense to provide a RETURN-TO-TOPLEVEL restart for an error occuring in a thread, I think there should be a TERMINATE-THREAD restart instead. And the debugger should probably print the thread's name the error occured in. -T.
Hi Tobias, On Sun, Sep 20, 2009 at 12:00 PM, Tobias C. Rittweiler <tcr@freebits.de> wrote:
Evaluating the following
(threads:make-thread #'(lambda () (error "foof")) :name "foof")
will get you into the debugger. But there's not restart available.
As it does not make sense to provide a RETURN-TO-TOPLEVEL restart for an error occuring in a thread, I think there should be a TERMINATE-THREAD restart instead.
And the debugger should probably print the thread's name the error occured in.
Thanks for the report. I filed a ticket to make us remember. Bye, Erik.
participants (2)
-
Erik Huelsmann
-
Tobias C. Rittweiler