From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: wrong-type-arg in scm_display_backtrace Date: 09 Jan 2003 23:42:06 +0000 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: <20021230013149.GB25056@masanjin.net> <20030105035742.GA29985@masanjin.net> <20030107054232.GA10760@masanjin.net> <20030108223847.GA6983@masanjin.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042157185 13225 80.91.224.249 (10 Jan 2003 00:06:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 00:06:25 +0000 (UTC) Cc: guile-devel@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Wmgq-0003R9-00 for ; Fri, 10 Jan 2003 01:06:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Wmhh-0005Rh-07 for guile-devel@m.gmane.org; Thu, 09 Jan 2003 19:07:17 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18WmhP-0005Q6-00 for guile-devel@gnu.org; Thu, 09 Jan 2003 19:06:59 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Wmfr-0004og-00 for guile-devel@gnu.org; Thu, 09 Jan 2003 19:05:34 -0500 Original-Received: from mail.uklinux.net ([80.84.72.21] helo=s1.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18WmL4-0008LZ-00 for guile-devel@gnu.org; Thu, 09 Jan 2003 18:43:55 -0500 Original-Received: from laruns.ossau.uklinux.net (bts-0113.dialup.zetnet.co.uk [194.247.48.113]) by s1.uklinux.net (8.11.6/8.11.6) with ESMTP id h09NhpV29414; Thu, 9 Jan 2003 23:43:52 GMT Original-Received: from laruns.ossau.uklinux.net.ossau.uklinux.net (localhost [127.0.0.1])ESMTP id 6DF00DC4D3; Thu, 9 Jan 2003 23:42:06 +0000 (GMT) Original-To: William Morgan In-Reply-To: <20030108223847.GA6983@masanjin.net> Original-Lines: 35 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:1864 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:1864 >>>>> "William" == William Morgan 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