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

More interesting *uninteresting-functions*



    Date: 11 Apr 88 09:21 EST
    From: STERRITT%SDEVAX.decnet@ge-crd.arpa
    
    ....
    While I'm asking this, I have a need for a similar thing that catches all
    errors, notifies some other processes that this one has died, and then
    (ideally) goes right into the debugger at the error.  I've tried writing
    something like the above, and just calling (zl:dbg) to drop into the debugger,
    but of course I'm a long way away from the actual crash site.  Is there
    a way to have something run at crash time, but then leave things where they
    were?

If you return NIL from your condition-bind handler, the condition
will continue to be signalled.  Assuming it's one that would normally
go into the debugger, returning NIL will cause it to go into the
debugger in the normal way.  A condition-bind handler that does some
side-effects and then returns NIL is probably the easiest way to get
what you are looking for.