From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4KU8C/sDhGMm8QAAbAwnHQ (envelope-from ) for ; Mon, 28 Nov 2022 01:42:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kPhnCvsDhGOCvAAAG6o9tA (envelope-from ) for ; Mon, 28 Nov 2022 01:42:35 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7F96218E04 for ; Mon, 28 Nov 2022 01:42:30 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozSDh-0002sm-4S; Sun, 27 Nov 2022 19:42:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozSDf-0002oQ-Vu for guix-devel@gnu.org; Sun, 27 Nov 2022 19:42:00 -0500 Received: from mail.all2all.org ([79.99.200.14] helo=moses.all2all.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozSDX-0005rc-Qz; Sun, 27 Nov 2022 19:41:54 -0500 Received: from localhost (localhost [127.0.0.1]) by moses.all2all.org (Postfix) with ESMTP id EC3D467C002F; Mon, 28 Nov 2022 01:41:30 +0100 (CET) Received: from moses.all2all.org ([127.0.0.1]) by localhost (moses.all2all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1RqYPbNFzMyL; Mon, 28 Nov 2022 01:41:30 +0100 (CET) Received: from aicha (unknown [179.210.48.245]) by moses.all2all.org (Postfix) with ESMTPSA id 2D87D67C002D; Mon, 28 Nov 2022 01:41:28 +0100 (CET) Date: Sun, 27 Nov 2022 21:41:23 -0300 From: David Pirotte To: Attila Lendvai Cc: Ludovic =?UTF-8?B?Q291cnTDqHM=?= , Maxim Cournoyer , zimoun , guix-devel Subject: Re: Guile debugger workgroup? Message-ID: <20221127214123.2dabd163@aicha> In-Reply-To: References: <20221027035100.28852-1-maxim.cournoyer@gmail.com> <87sfihfpng.fsf_-_@gnu.org> <86zgcpju9p.fsf@gmail.com> <87y1s82o23.fsf@gmail.com> <87zgckwdtw.fsf@gmail.com> <87sficqb71.fsf@gmail.com> <86fsebdpl9.fsf@gmail.com> <87r0xrjbx1.fsf_-_@gmail.com> <87fse69czr.fsf@gnu.org> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/uQJLniv_LytQ6RPF783Rbcm"; protocol="application/pgp-signature"; micalg=pgp-sha512 Received-SPF: pass client-ip=79.99.200.14; envelope-from=david@altosw.be; helo=moses.all2all.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1669596150; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=nLvFZ00EzVQcftoZSKN5ZiSKEedbPOpkmCT2U+9YPhQ=; b=sigkUIvmJzZnzCpQvRoHLmDM020tJLV7GV5PUx1qTPJCscslnz1x0ThZ38waJy8q9PwUfe GLNCu+neR7wwq1nILr77Xhk2K9wUOuhtuGoRf16ESd5fSgUvLDDfbtzQF0gbyh/9LrpzaK kH3jdllNjSA8and4nWfFFfngMoOnvYd6YOuCIVgEsHqFSDUl/L7ZDCNVVi4g4qiCiBC0QJ ab3Rkx2ypp1i7TLZ2Uw/dDm1QQwb0GImuG/OnkyiqTo+rmOQlum4hevgWZI50A2M/uKNnw qo1WuKIN/CqA53f+czc+a8n/7FIokFKtSQnEIrdAGkDxzHqHfqopuYkMm9Rv6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669596150; a=rsa-sha256; cv=none; b=oJWcFppl8jL5AzLBIrNrQx+Ubn6dqa8XBhq7qZeCNxQz9oYIxE28g5v3IZGsnWm+bw3Vdx 9TYDtcL+abTwm/ipnOjFwcyj7j2ULQuwoqXxu4VXNnaERfSLgo+ioYj2h9hECWQtSEWVhl fkbTYq8FX6hDv36SK1ewzz/HIrAqo0tgzVyh+G+vnIE6tZSeImo0/x4ji4c26v1f6ls6+0 yfR0GquN3T5y30QcO76ZGYusZxnOoTZBv5cqO0o1c3aVsEEt3rF5YlhzKPxHJAxeK6yfnK /cGPDH5wdTVrK1nMZ9Pz9wdGQ9ErarAIaovyqiLRG2NcS/0vl43UQs6wnUNrWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.86 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7F96218E04 X-Spam-Score: -2.86 X-Migadu-Scanner: scn0.migadu.com X-TUID: ri7BYugD8nq9 --Sig_/uQJLniv_LytQ6RPF783Rbcm Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello Attila, > coming from common lisp (and SBCL in particular), i think the lowest > hanging fruit in the guile debugging experience is making sure that > backtraces are not cut short when printed. Not 'by default' though, I would personally vote against such a change [1]. Did you try, after the exception is raised: ,bt #:full? #t :#width 1000 (or higher if needed) That always worked for me. David [1] Fwiw, I am actually trying to get our maintainers to accept to set the very same 'truncate' defaults for both repl printiers [2] and raised exception printers [3]. [2] repl printers can be easily configured by users though, even for none experimented users, so ok but I would still prefer the default to truncate the output. Here is how though, for those interested https://www.gnu.org/software/guile-cv/manual/html_node/Configuring-Guile_0= 027s-repl_002dprint-procedure.html [3] raised exception printer are next to impossible to configure for none experimented users, and even 'advanced' or 'very advanced' guilers=20 do not know how to do this, and when advised with the proper solution, there are just 'scared' to implement it (which I understand, as the solution requires to patch (ice-9 boot-9). This is explained here, again, fwiw: =09 https://www.gnu.org/software/guile-cv/manual/html_node/Configuring-Guile_0= 027s-raised-exception-system.html But there is a patch, if you prefer https://git.savannah.gnu.org/cgit/guile.git?h=3Dwip-exception-truncate https://git.savannah.gnu.org/cgit/guile.git/commit/?h=3Dwip-exception-trun= cate&id=3D1a919d98514f1184b91085a19b55a4c719300149 [ for guile-3.0 ofc, and you'd need to install from the source [ in the first place, then cherry pick the patch ... --Sig_/uQJLniv_LytQ6RPF783Rbcm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmOEA7MACgkQ83T9k6MF etemIwf/fkEnys1sFnxgXz7ayJVV5sPalr0t/k403l1njJC33tGtZiwF6PDnqI1y 1YvjPza99Y9oSIuSoh10+cHT0qANt4sWDu4ZHSNWZK4K+T61MKnAIS9+1qpxfJEm eRhjBRaUjKq5tWPIzFDaOdNNGs9ZmjOIB5m/IUmHW3hNwOMwL7k+oNBjTCoVZIwO go4hAvvF2G7CIqs7pAzYDiv7XmEHxI9g9KLF6Cttf1IgQap8efyt8rGYBKw3qj0D cbJ6DNXG1nVXvzk1wDhitk6AITAoETpHmkcJL3Y4aMGlZbCFsfabcK/iewolBADp keSgz4jO/EEY9ZiXVRw38mqldwRSDA== =CAo2 -----END PGP SIGNATURE----- --Sig_/uQJLniv_LytQ6RPF783Rbcm--