From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Re: Backtraces in Guile 2.0 Date: Tue, 22 Feb 2011 11:55:21 -0800 (PST) Message-ID: <652554.30214.qm@web37902.mail.mud.yahoo.com> Reply-To: Mike Gran NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1298404538 27867 80.91.229.12 (22 Feb 2011 19:55:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Feb 2011 19:55:38 +0000 (UTC) Cc: Guile User To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Feb 22 20:55:30 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PryKY-0004eM-It for guile-user@m.gmane.org; Tue, 22 Feb 2011 20:55:30 +0100 Original-Received: from localhost ([127.0.0.1]:43597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PryKX-0001o6-N5 for guile-user@m.gmane.org; Tue, 22 Feb 2011 14:55:29 -0500 Original-Received: from [140.186.70.92] (port=45003 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PryKT-0001nY-RN for guile-user@gnu.org; Tue, 22 Feb 2011 14:55:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PryKS-0005Gy-Qu for guile-user@gnu.org; Tue, 22 Feb 2011 14:55:25 -0500 Original-Received: from web37902.mail.mud.yahoo.com ([209.191.91.164]:45763) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PryKS-0005GE-KK for guile-user@gnu.org; Tue, 22 Feb 2011 14:55:24 -0500 Original-Received: (qmail 31336 invoked by uid 60001); 22 Feb 2011 19:55:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1298404521; bh=9bYm+i3CNs9FqQZwhigCoaB0sY6G1CuUjnD58k/+mLQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=w1x11tAWiQfYnTNU9rk524SezSCiuob7Tl+nkOhQ3INQ9Mn4W7QJmi0rFezT6AyplAiZapvfdwfCI6vemZMh0PEjAbT2uQgsDxSnoMgxCI5Hg3zj3JJHInOde21Vyiw3rPfrgpIfyNBckZg8k18z4tCzl4c+WCzqLziim2v0e58= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=dJBwEFa2JoJLcChjfUd3o+Ut6qZBoZou/xI1uyS4NuCx7C8xbm3pz3qV8b/b2RnxDxjN58p5tFpgszPBXwXl6uSOQN7nH2oPYtOSDrIINRPu0Mdp9VticrEWeIXpSR0ll9e/yDc+6KaHBxEL2aqGrk/Ix6/VUa/ycez6Xwu5Qe4=; X-YMail-OSG: Pj4Yuw0VM1nLRlFwqsxIpb_m_PMgQHqmeEG16gXSxPz9iU9 A6S92ua_PgQo5Bc.3yj.Pe8ApHBe3tjcT_mRWUmQou5OP8bn6wznNC3UWCZ7 dvyiMB2K1s4lAlO277A2L2a3R7Fz4xctPhL1QbnEAsDOjtWnF472iRaZksv6 biybUZd3_F7_Ue31ziMoZ5rz1SbZvwro6ms1lA_rY_Mb08UFokS2flBud7Gi 8smgahivxZVvFkYr3se7e0N1pvlng.qhwKJwpHa7r9Xppc9jZpPtcYGHvAeW RSVite2WXsOVp_9P.RyuhltGsXrVZq4Gy2_8ISU85RcW9QWgBy0fdF5dgs3H xqvV7hg-- Original-Received: from [207.8.91.2] by web37902.mail.mud.yahoo.com via HTTP; Tue, 22 Feb 2011 11:55:21 PST X-Mailer: YahooMailWebService/0.8.109.292656 X-detected-operating-system: by eggs.gnu.org: FreeBSD 6.x (1) X-Received-From: 209.191.91.164 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8448 Archived-At: > From:Andy Wingo =0A> > Thus, if I understand correctly, = the=A0closest I can get to getting source=0A> > info for this trivial case = would be to change the script to=0A> >=0A> > =A0 (symbol->string "HELLO")= =0A> > =A0 #t=0A> =0A> Yep.=0A> =0A> > Adding a #t so it can't be tail-call= ed.=A0 Then I get=0A> >=0A> > In unknown file:=0A> > =A0=A0 ?: 2 [load-comp= iled/vm =0A> "/home/Mike/.cache/guile/ccache/2.0-LE-4-2.0/home/Mike/tmp.scm= .go"]=0A> > In /home/Mike/tmp.scm:=0A> > =A0=A0 1: 1 [#]=0A> > In unknown file:=0A> > =A0=A0 ?: 0 [symbol->string "STRING"]=0A> = > ERROR: In procedure symbol->string:=0A> =0A> Is this what you want?=A0 It= seems right to me...=0A=0AMy expectation of debuggers has been formed by m= y experience with=0AGDB and MSVC, so I'm still trying to work out for mysel= f where I=0Athink Guile's debugging=A0could use improving=A0and where the a= nalogy=0Ato GDB is faulty.=0A=0ATo say something completely incoherent, I f= eel like the =0Adebugger isn't giving me enough information to solve my pro= blems:=0AI feel like it should be easier to know where I am in the source= =0Aand where I am=A0in the stack. But to improve on the above incoherent=0A= statement, I first need to understand what the expected behavior=0Aactually= is and how to best take advantage of the functionality=0Athat exists.=0A= =0AThanks,=0A=0A-Mike