From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EAXgKAvegGMSlgAAbAwnHQ (envelope-from ) for ; Fri, 25 Nov 2022 16:23:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id yKXcKAvegGOuvgAA9RJhRA (envelope-from ) for ; Fri, 25 Nov 2022 16:23:55 +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 6C4A78D26 for ; Fri, 25 Nov 2022 16:23:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyaY4-0006ll-Vg; Fri, 25 Nov 2022 10:23:29 -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 1oyaY3-0006lI-7O for guix-devel@gnu.org; Fri, 25 Nov 2022 10:23:27 -0500 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyaY1-00070V-FC; Fri, 25 Nov 2022 10:23:26 -0500 Received: by mail-qt1-x82b.google.com with SMTP id c15so2691322qtw.8; Fri, 25 Nov 2022 07:23:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=qNdvDEMiscE8pBtjpgB9rbHxfik5Da1iLcfqxq79SfQ=; b=Zv46NnbwdKO0jsyF6AWeYEozIRiZW3kfT6rO4tiij2elC/fjLrbRdy/m6PgTUFoxWr kxWOOTb9bcueebLu/V5y+oFZRDOOz9nWYpjRV1rq7NfiCbqA6r1MaIXuae2yWMri9w8Z X49avv85VUeLwG8+l68HBp7w8oL4zCRD9DNONzjFNoaYhzN0QxkU74xktHK1SUuFgc1j yaA0gKWFXoV0M2QO6bXpNDj1ledTANos9aw3Iprotfbr3OrZzeKGfFMPcAf6yBG4toIb lY2XhFLZfFnWOUaYqVZZOhMcf8YGZZrjpHuct/sY01lToH4G2IyNFolZzNq1hwr10XZN oCng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=qNdvDEMiscE8pBtjpgB9rbHxfik5Da1iLcfqxq79SfQ=; b=iXFWR9h2xt8gslQUlTXOw50t4PZTzPHD0kDPSifQ1taFQtIiRmgimgBRdE24xwo8om ImxvqMIWKb+JW0UIhhEc4PoqKz2INl8zfochfAKMTygjBIMyaSx2vZwssNTize5p3gb/ lPT4wlAoUXZ6kZ5c+JK/AG0eNO69RCGXxioGb1XaYAQ1S8R/VUCCSdHppnS15SBnyRZe EMtbTZ5obLaZ/DMSrKwTzt8SLM535UC+/nJC7y54Emcz5w+FugY6+clxSlQ+ap0cZ+QI N2A+1+qAZCBJEoOJ+W9zA5n73kNl1TA1/zJuWqSJqYfh1baQGK1JsvUQ+Qy0ZvJZ4g4H b3ow== X-Gm-Message-State: ANoB5pkiPmfq7HSd32ISytt8gGDXwvuWG3KWCPbmu4TzVARvfpswOxsF UTF83JeurvpK5kJKCg6AgnkWXUSvmqt7wA== X-Google-Smtp-Source: AA0mqf770ARtzxpu2S5vezBag2p7j0eOmhdsrpegamPnosfID75VTHRuz1Xm4agND/QuQr092L8uhA== X-Received: by 2002:a05:622a:1e1a:b0:39c:e38c:879 with SMTP id br26-20020a05622a1e1a00b0039ce38c0879mr26325861qtb.41.1669389803785; Fri, 25 Nov 2022 07:23:23 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1003]) by smtp.gmail.com with ESMTPSA id u12-20020a05620a084c00b006ee949b8051sm2820000qku.51.2022.11.25.07.23.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 07:23:23 -0800 (PST) From: Maxim Cournoyer To: zimoun Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , guix-devel Subject: Guile debugger workgroup? (was: Coding style: similarly-named variables) References: <20221027035100.28852-1-maxim.cournoyer@gmail.com> <20221027035100.28852-3-maxim.cournoyer@gmail.com> <87leojon1z.fsf_-_@gnu.org> <877d03xywl.fsf@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> Date: Fri, 25 Nov 2022 10:23:22 -0500 In-Reply-To: <86fsebdpl9.fsf@gmail.com> (zimoun's message of "Tue, 22 Nov 2022 15:35:30 +0100") Message-ID: <87r0xrjbx1.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::82b; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=1669389835; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qNdvDEMiscE8pBtjpgB9rbHxfik5Da1iLcfqxq79SfQ=; b=lxBsYdHg8y87d0qcOBukUK6jEYFC43QCeZU3wCN7I5RSGdbP2qM+pp3Dq+/SJZNJYVv6Ba BkPN/DyjzBEwssvusvK1RV4v2GIze7Jnd7/TzukrDmY4sUHuZofeVoevjdqIaIoWwOM23G l9iRBpBWXgVU9lRv7bgE/zBxMrR4BynEUOXS8GuiBHEK3BelDhswf0O+0l4KkLo0d1f65+ f7ctFNkzo2gZgGzDo1fjBAG8XMI0f0Gmp1NxBevd44Pzyv2stNiMyNrPixx1dkXu578ILO SWzC5NhigU7+B04VVW8VwodBW4dmJOgxP855SqInec4Yts9jO6aFhyQP3HZ6DQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669389835; a=rsa-sha256; cv=none; b=G6QRGCcaV+Xnn7dNS5Vw1Vuw8BhjTgH2y0djczH/22IN2rzKgeYiFxxQpkpWs7JcIB9I8P bMu65vcc9s7VNzVdfe8pffEDfv+VQF/7vNgL8RR8jy74gTc2xIilsTbreLU2Wg4rZPECdH 4Cav/4kWoNhOSbc1krVeILMIb6KlAraXug+hZQCAj6ethEjwfwBlrGtRQ7gwoz6boMiiqQ 30GDWIOC8FCGw25Kdm+U5xPJrg4U1GDKmp6kNGjiwMgLUk2uKnb5Fne6o02WwiWwKIyXmn 7385SV2d2yjZHTYbVIo7MsO0Ex1ei7iMGFk6POSTVqPG7g//iW5tExZTpz/Akg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Zv46Nnbw; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.97 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Zv46Nnbw; dmarc=pass (policy=none) header.from=gmail.com; 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: 6C4A78D26 X-Spam-Score: -3.97 X-Migadu-Scanner: scn1.migadu.com X-TUID: 733aXRdH1nmb Hi Simon, zimoun writes: > Hi Maxim, > > On Mon, 21 Nov 2022 at 15:55, Maxim Cournoyer = wrote: > >> In practice since using breakpoints/a debugger to debug Guile code >> rarely works as intended (in my experience hacking on Guix!), we >> typically sprinkle the source with 'pk', and that point becomes moot. > > I totally agree! Preparing some materials for introducing Guile to > GuixHPC folk, I am trying to collect some tips and, if I am honest, the > debugging experience with Guile is really poor; compared to others (as > Python). For example, DrRacket provides an easy and nice user > experience [1] =E2=80=93 where it is easy to compare each intermediary re= sult in > the debugger. For what it is worth, I have not been able to have some > similar inspections as in [1]. Maybe, I am missing something=E2=80=A6 > > Well, IMHO, we are somehow suffering from some Guile limitations and > improvements in this area are an hard task. I also agree! It's hard to convince people to pick Guile for their project when there is: 1. Lack of a debugger that can break and step anywhere in your source code 2. Lack of debugger integration to an IDE (it's not even integrated into Emacs) Perhaps we should assemble a Guile debugger workgroup that'd review what's broken, what's missing, what can be borrowed from other Scheme or languages for inspiration, and hopefully improve the Guile debugging experience? :-) --=20 Thanks, Maxim