From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Stack traces Date: Tue, 14 Feb 2017 23:16:17 +0100 Message-ID: <87h93wto3y.fsf_-_@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1487110611 21318 195.159.176.226 (14 Feb 2017 22:16:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Feb 2017 22:16:51 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Feb 14 23:16:47 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdlOx-000595-AA for guile-user@m.gmane.org; Tue, 14 Feb 2017 23:16:47 +0100 Original-Received: from localhost ([::1]:37451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdlP2-0008FS-T1 for guile-user@m.gmane.org; Tue, 14 Feb 2017 17:16:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cdlOg-0008FM-1h for guile-user@gnu.org; Tue, 14 Feb 2017 17:16:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cdlOc-0002oT-PU for guile-user@gnu.org; Tue, 14 Feb 2017 17:16:30 -0500 Original-Received: from [195.159.176.226] (port=36296 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cdlOc-0002o6-HQ for guile-user@gnu.org; Tue, 14 Feb 2017 17:16:26 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cdlOU-0003Oe-IA for guile-user@gnu.org; Tue, 14 Feb 2017 23:16:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@blaine.gmane.org X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?utf-8?Q?Pluvi=C3=B4se?= an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Cancel-Lock: sha1:KDUoNqMrUz71fBpp2zAUSToJOi8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:13209 Archived-At: Hello, Cecil McGregor skribis: > My first problem lies in the lack of a decent debugger. > (I can hear the screams of more enlightened Guilers > already!) The stack traces seldom provide filenames > and line numbers to hint where a problem might hide. > While I've read advice to allow the appearance of > filenames/line numbers, I still can't seem to > consistently find these in a stack trace. > > I would really like the filename/line number to appear > in a stack trace with the actual source code and not > some partially opaque macro expansion. Could you mock up the stack trace as you would like to see it displayed? I think it would be helpful because what you write here is a common complaint, but it’s also something that seasoned Guilers no longer realize because they’re used to it. So a fresh eye on what it should look like is great. There are also deeper technical issues, such as tail calls, but we can put them aside for now. Thanks, Ludo’.