From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joris van der Hoeven Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: PLEASE: debugging embedded guile code Date: Tue, 25 Feb 2003 15:19:54 +0100 (MET) Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1046182996 414 80.91.224.249 (25 Feb 2003 14:23:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2003 14:23:16 +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 18nfzG-00006Q-00 for ; Tue, 25 Feb 2003 15:23:14 +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 18nfzJ-0004vw-04 for guile-devel@m.gmane.org; Tue, 25 Feb 2003 09:23:17 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18nfxU-0004F4-00 for guile-devel@gnu.org; Tue, 25 Feb 2003 09:21:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18nfwc-0003ty-00 for guile-devel@gnu.org; Tue, 25 Feb 2003 09:20:31 -0500 Original-Received: from mathups.math.u-psud.fr ([129.175.52.4] helo=matups.math.u-psud.fr) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18nfw7-0003M2-00; Tue, 25 Feb 2003 09:19:59 -0500 Original-Received: from anh.math.u-psud.fr (anh.math.u-psud.fr [129.175.50.156]) h1PEJsZ09244 ; Tue, 25 Feb 2003 15:19:54 +0100 (MET) Original-Received: from anh (anh [129.175.50.156]) by anh.math.u-psud.fr (Postfix) with SMTP id 235DCB2C8; Tue, 25 Feb 2003 15:19:54 +0100 (MET) X-Sender: texmacs@anh Original-To: guile-user@gnu.org In-Reply-To: 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:1966 gmane.lisp.guile.user:1690 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1690 Hi, I am sorry to bother you again with the same question as a few weeks ago, but I think that it is a crucial point if you want Guile to be used as an extension language. When I run Guile interactively, and my code contains an error, then I get a nice error message with the location (file name, line number, column) of the error. I would like to have something similar for errors which occur in embedded Guile code. So: what should I do in order to enable debugging support for embedded Guile code? How can I retrieve the location of a possible error when calling guile code from the main program? Now these questions certainly do have an answer, because it is possible to debug interactive programs. However, I have been unable to retrieve this information from the sources after one day of study :^((( Maybe someone can tell me at least who wrote the interactive Guile shell? Best wishes, Joris ----------------------------------------------------------- Joris van der Hoeven http://www.texmacs.org: GNU TeXmacs scientific text editor http://www.math.u-psud.fr/~vdhoeven: personal homepage ----------------------------------------------------------- _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel