[hunchentoot-devel] Invoke-debugger

Hans Hübner hans.huebner at gmail.com
Fri Nov 13 16:45:41 UTC 2009


On Fri, Nov 13, 2009 at 17:37, Frode V. Fjeld <frode at netfonds.no> wrote:
> It's rather easy to modify the standard process-request to call
> invoke-debugger, but wouldn't it make sense to have something like
> hunchentoot:*invoke-debugger-on-error-p* ?

This is a common question which has been discussed a number of times.
We've meant to put some debugging hints into the documentation, yet
we've failed to do so, sorry about that.

The answer is:  Use *break-on-signals* to have your Lisp enter the
debugger when a certain condition type is signalled.  See
http://l1sp.org/cl/*break-on-signals* for details.

Hunchentoot used to have a special variable like you suggested, but we
felt that it is better to use the language facilities rather than to
invent special purpose mechanisms.  Learning how to use
*break-on-signals* is something that is useful anyway, so please try
it out to see if it fits your needs.




More information about the Tbnl-devel mailing list