Getting a backtrace programmatically.
Is there any way of getting LW to print a backtrace programmatically?
I found dbg:bug-backtrace, but this seems to only print anything if
you're actually in the debugger. What I want to be able to do is
something like:
(handler-bind
((error #'(lambda (e)
...print backtrace but do not transfer control...)))
...forms...)
So I can cause it to print a backtrace without interfering with other
handlers.
--tim