#86: No restarts available on error in thread ------------------------+--------------------------------------------------- Reporter: ehuelsmann | Owner: nobody Type: defect | Status: new Priority: major | Milestone: 0.19 Component: libraries | Version: Keywords: | ------------------------+--------------------------------------------------- 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.
#86: No restarts available on error in thread -------------------------+-------------------------------------------------- Reporter: ehuelsmann | Owner: nobody Type: defect | Status: new Priority: major | Milestone: 0.19 Component: libraries | Version: Resolution: | Keywords: bite-size -------------------------+-------------------------------------------------- Changes (by ehuelsmann):
* keywords: => bite-size
#86: No restarts available on error in thread -------------------------+-------------------------------------------------- Reporter: ehuelsmann | Owner: nobody Type: defect | Status: new Priority: major | Milestone: 0.20 Component: libraries | Version: Resolution: | Keywords: bite-size -------------------------+-------------------------------------------------- Changes (by ehuelsmann):
* milestone: 0.19 => 0.20
#86: No restarts available on error in thread -------------------------+-------------------------------------------------- Reporter: ehuelsmann | Owner: nobody Type: defect | Status: new Priority: major | Milestone: 0.20 Component: libraries | Version: Resolution: | Keywords: bite-size -------------------------+--------------------------------------------------
Comment(by ehuelsmann):
I propose attached patch.
#86: No restarts available on error in thread -------------------------+-------------------------------------------------- Reporter: ehuelsmann | Owner: nobody Type: defect | Status: closed Priority: major | Milestone: 0.20 Component: libraries | Version: Resolution: fixed | Keywords: bite-size -------------------------+-------------------------------------------------- Changes (by ehuelsmann):
* status: new => closed * resolution: => fixed
armedbear-ticket@common-lisp.net