[PLUG] Re: Common Lisp: printing the backtrace as well as the error message
Carlos Konstanski
ckonstanski at pippiandcarlos.com
Tue Sep 12 02:32:55 UTC 2006
Turns out that in SBCL, it's as easy as:
(sb-debug:backtrace-as-list)
The file util.lisp in the TBNL source has a series of (get-backtrace)
functions (one for each flavor of lisp) that helped a lot. Thanks.
Carlos Konstanski
On Mon, 11 Sep 2006, nhabedi at gmail.com wrote:
> Date: Mon, 11 Sep 2006 06:18:56 -0000
> From: nhabedi at gmail.com
> To: ckonstanski <ckonstanski at pippiandcarlos.com>
> Subject: Re: Common Lisp: printing the backtrace as well as the error message
>
> ckonstanski wrote:
>>
>> The question I have is, how do I print the backtrace of an error?
>
> See the source code of TBNL for examples.
>
> http://weitz.de/tbnl/
>
> Cheers,
> Edi.
>
>
More information about the PLUG
mailing list