From: ludovic.courtes@laas.fr (Ludovic Courtès)
Cc: guile-user@gnu.org
Subject: Re: debugging scheme module
Date: Thu, 07 Dec 2006 13:54:05 +0100 [thread overview]
Message-ID: <87irgnkgsy.fsf@laas.fr> (raw)
In-Reply-To: <200612071220.06887.al@iac.spb.ru> (Al Nikolov's message of "Thu, 7 Dec 2006 12:20:05 +0300")
Hi,
Al Nikolov <al@iac.spb.ru> writes:
> Fatal error: [library-name] wrong-type-arg: ("caddar" "Wrong type argument
> in position ~A: ~S" (1 ()) #f)
This means that at some point, `caddar' is invoked and is passed `#f'
instead of a list. :-)
> Since my scheme code is bigger than two parenthesis and three lines, i
> feel myself totally embarassed by having absolutely no idea where to look
> for the trouble and what those "~A"s and "#f"s mean.
You could try the following:
(read-enable 'debug)
(debug-enable 'debug)
This has to be done early enough, ideally when Guile starts up (or when
your first Scheme file gets read). If you use 1.8, then it should show
a complete backtrace instead of just an error line.
Alternatively, you can run `guile' with the `--debug' option (if that is
an option for you).
Hope this helps,
Ludovic.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2006-12-07 12:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 9:20 debugging scheme module Al Nikolov
2006-12-07 12:54 ` Ludovic Courtès [this message]
2006-12-12 21:36 ` Neil Jerram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87irgnkgsy.fsf@laas.fr \
--to=ludovic.courtes@laas.fr \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).