hi,

yes, that worked - I had previously been enabling backtrace for the command line but not debug.
thanks so much!
-erica


On Wed, 8 Aug 2007, Ludovic Court?s wrote:

Hi,

Erica L Cooper <[EMAIL PROTECTED]> 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.



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to