Re: Stack trace from condition

Pascal Bourguignon <[email protected]> Thu, 17 Nov 2022 22:58:25 +0100
Newsgroups gmane.editors.j.devel
Message-ID <[email protected]>
Le 17/11/2022 à 22:16, Garrett Dangerfield a écrit :
> (handler-case
>      (error "hi")
>    (error (e)
> ;; print stack trace here
> ))
> 
> How do I get the stack trace for the error?
>

Using the portability library uiop (provided by asdf):

uiop:print-backtrace
uiop:print-condition-backtrace
uiop:raw-print-backtrace


-- 
__Pascal Bourguignon__