guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: displaying a backtrace in the shell


From: Erica L Cooper
Subject: Re: displaying a backtrace in the shell
Date: Wed, 8 Aug 2007 11:34:58 -0400 (EDT)

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 <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.



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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]