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.user Subject: Catching errors in C/C++ programs Date: Wed, 5 Feb 2003 20:10:27 +0100 (MET) Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1044472902 24815 80.91.224.249 (5 Feb 2003 19:21:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2003 19:21:42 +0000 (UTC) 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 18gV74-0006Rm-00 for ; Wed, 05 Feb 2003 20:21:38 +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 18gV8e-0007TN-0B for guile-user@m.gmane.org; Wed, 05 Feb 2003 14:23:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18gV6P-0005HW-00 for guile-user@gnu.org; Wed, 05 Feb 2003 14:20:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18gV3F-0003JL-00 for guile-user@gnu.org; Wed, 05 Feb 2003 14:17:41 -0500 Original-Received: from matups.math.u-psud.fr ([129.175.50.4]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gUwJ-0000rF-00 for guile-user@gnu.org; Wed, 05 Feb 2003 14:10:31 -0500 Original-Received: from anh.math.u-psud.fr (anh.math.u-psud.fr [129.175.50.156]) h15JASU24754 for ; Wed, 5 Feb 2003 20:10:28 +0100 (MET) Original-Received: from anh (anh [129.175.50.156]) by anh.math.u-psud.fr (Postfix) with SMTP id 722B8B2C8 for ; Wed, 5 Feb 2003 20:10:27 +0100 (MET) X-Sender: texmacs@anh Original-To: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: General Guile related discussions List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:1600 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1600 Hi, I use Guile as an extension language for GNU TeXmacs. For debugging purposes, I would like to know how to find the file and the line where a potential error occured, when executing a lot of Guile code at startup. I have been playing around a bit with gh_eval_file_with_catch and similar routines, but I still don't understand how to retrieve the file names and line numbers of errors. Can someone help me? 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-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user