[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: displaying a backtrace in the shell
From: |
Ludovic Courtès |
Subject: |
Re: displaying a backtrace in the shell |
Date: |
Wed, 08 Aug 2007 09:23:42 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi,
Erica L Cooper <address@hidden> writes:
> which, if you run in interactive Guile, displays the backtrace without
> complaint. however, when you execute this from the command line, it
> says,
>
> Exception during displaying of backtrace: wrong-type-arg
My guess is that when you run it from the command-line, debugging is
disabled by default (conversely, it is enabled by default at the REPL).
Thus, `(make-stack #t)' returns `#f', hence the `wrong-type-arg' later
on.
For this to work, you need to explicitly enable debugging using
something like "(debug-enable 'debug)".
Hope this helps,
Ludovic.