unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-devel@gnu.org
Subject: Re: wrong-type-arg in scm_display_backtrace
Date: 09 Jan 2003 23:42:06 +0000	[thread overview]
Message-ID: <m3wuldki0h.fsf@laruns.ossau.uklinux.net> (raw)
In-Reply-To: <20030108223847.GA6983@masanjin.net>

>>>>> "William" == William Morgan <wmorgan@masanjin.net> writes:

    William> and now I have backtraces. Yes!!! Now, I just have to
    William> figure out how to use vports to steal the backtrace dump
    William> and put it somewhere intelligent...

Great!

    William> Having finally succeeded, I have a couple comments:

    William> 1) The commands above are wicked voodoo that should be
    William> encapsulated in some kind of scm_enable_debugging()
    William> library call. There's no way I, as the application
    William> developer, should be playing with these variables
    William> directly.

Agreed.  There is a Scheme `turn-on-debugging' proc in boot-9.scm, but
this is relatively hard to use from C.

    William> 2) This whole process has been unnecessarily difficult,
    William> considering that I am doing *only* and *exactly* what
    William> anyone who wants to embed Guile in their program must do
    William> (run Guile callbacks, catch errors, display errors
    William> nicely).

Yes, I'm afraid so.  But things are improving, and largely thanks to
positive experimentation and feedback like this.

    William> Issue #2, at least, is mostly a matter of lack of
    William> documentation. I promise to write up a "how to embed
    William> Guile in your C program" document and post it here.

Wonderful - I look forward to it!

        Neil



_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel


  reply	other threads:[~2003-01-09 23:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-30  1:31 wrong-type-arg in scm_display_backtrace William Morgan
2002-12-31 23:42 ` Neil Jerram
2003-01-05  3:57   ` William Morgan
2003-01-06 19:06     ` Neil Jerram
2003-01-07  5:42       ` William Morgan
2003-01-08 20:21         ` Neil Jerram
2003-01-08 22:38           ` William Morgan
2003-01-09 23:42             ` Neil Jerram [this message]
2003-01-10 20:31               ` vports from c questions William Morgan

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=m3wuldki0h.fsf@laruns.ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@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).