From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms9.migadu.com with LMTPS
	id yMHlA9tzNWQh/wAASxT56A
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 11 Apr 2023 16:51:07 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id IAHgA9tzNWRfcgAA9RJhRA
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 11 Apr 2023 16:51:07 +0200
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 DCE05364C1
	for <larch@yhetil.org>; Tue, 11 Apr 2023 16:51:06 +0200 (CEST)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-devel-bounces@gnu.org>)
	id 1pmFJg-00065J-9o; Tue, 11 Apr 2023 10:49:52 -0400
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 <zimon.toutoune@gmail.com>)
 id 1pmFJa-00063x-PL
 for guix-devel@gnu.org; Tue, 11 Apr 2023 10:49:47 -0400
Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@gmail.com>)
 id 1pmFJY-0006y6-VH; Tue, 11 Apr 2023 10:49:46 -0400
Received: by mail-wr1-x433.google.com with SMTP id
 ffacd0b85a97d-2efbaad94c8so249561f8f.0; 
 Tue, 11 Apr 2023 07:49:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1681224583;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=eq+X7gdPaotOEM+MLq7tRUVy50yxhDyGsqpey853Pvk=;
 b=R9y7uvdWJPzSZfYffaViDr0/nO6426AIK8IRYjh0kL73t2uyohC6vFxUVsF/dYr1Nl
 s6CCEQn5OsjNvSj5Ca55/EkqYMxpvrdcj564I/eun6xxio4VL97q+KYuBJnIFgZ5KR9t
 4cqoFFD2KcG2Xc7NwT2vB7NB2CbDdgI9WeiNGPHry2nnvWuQCu2urAOL53v0/aY0zW1A
 OgHD8jE/5Wt3/gI9D/s2rf2+R3iL5bQxduEWyLA8Ummpua9QGoU+ABgge8x9+MxcPaCx
 cRFpH72dXnPABFZYpyh+/xpyvAva3SnzMh42uP+P143aNnGNaP4WqypD22soGncYyNuc
 WBhA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1681224583;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=eq+X7gdPaotOEM+MLq7tRUVy50yxhDyGsqpey853Pvk=;
 b=AO9MwfTprztRRO7nB7fbiQJRdPl/zkUqA4bFrO1ov+623zMVCk3e2CEkvvwLW/AV87
 n3TG4n8w4in6sj4ECWzAFrTJaaQG1VoCxCdBZhoPdwQnGU1ebcd9F3ODXo457D72cDNR
 OWZMsi1dYDqyzD7F+ZffaqRjD0jEiSx4U0qzRxXYGsr4wWH23mThLj9PAjiLqamnl8Lq
 J53HOQegmr8lxpABa0TtsBcZ3SWKrHGo0luF9zJ/XRGKDpukAkY/AZHAAmUVliJgyTXz
 T0VJi1F9VLK6eOyMuNLjNCqGlKVrYHNL+y5Th1WVFl046UCkjmBcmIFXx+13AY/tN3//
 wbmA==
X-Gm-Message-State: AAQBX9c6MRjd9pqD4zc1dwEBCPn6AA8GDmh0allD78i3EzBVl9kfJkQo
 jalRl3JWN97ngBbZpDvP1Js=
X-Google-Smtp-Source: AKy350akZLsS7IxqraYSbSFfabVsCOqfkTjdfTrNoh4zhVg5h5/Vb9WU+eUQ+8xeoYfeJOeMjn4s9A==
X-Received: by 2002:a05:600c:3490:b0:3f0:7ec7:a71 with SMTP id
 a16-20020a05600c349000b003f07ec70a71mr7964187wmq.4.1681224582645; 
 Tue, 11 Apr 2023 07:49:42 -0700 (PDT)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 p15-20020a7bcc8f000000b003ed4f6c6234sm17073754wma.23.2023.04.11.07.49.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 11 Apr 2023 07:49:42 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>, Ludovic =?utf-8?Q?Court?=
 =?utf-8?Q?=C3=A8s?= <ludo@gnu.org>
Cc: Andreas Enge <andreas@enge.fr>, guix-devel@gnu.org, Pjotr Prins
 <pjotr2022@thebird.nl>
Subject: Debugging Guix beyond pk (was Re: Notes from the Guix Days)
In-Reply-To: <87fsa376ww.fsf@gmail.com>
References: <ZAtFp/uT6Z0N3XmN@jurong> <87pm9bmix7.fsf@gmail.com>
 <ZBC2rsbEN4ABltOR@jurong> <87ilf2ltmh.fsf@gmail.com>
 <87r0tq0y9b.fsf_-_@gnu.org> <87fsa376ww.fsf@gmail.com>
Date: Tue, 11 Apr 2023 16:05:18 +0200
Message-ID: <871qkqjyzl.fsf@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::433;
 envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x433.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."
 <guix-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-devel>
List-Post: <mailto:guix-devel@gnu.org>
List-Help: <mailto:guix-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=subscribe>
Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org
Sender: guix-devel-bounces+larch=yhetil.org@gnu.org
X-Migadu-Country: US
X-Migadu-Flow: FLOW_IN
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681224666; a=rsa-sha256; cv=none;
	b=p8dMnEvfXOC+/YqviuYhYzrr6sBv4gGvrF5uFOD/5dhZayUkGJjyXbdT4FokBa/uT+srNi
	rx9MTUvot+yFNuTpUh5QCfbvvhJXhtkeOGy2Mc8BsoDWuePiRneyxWzR3qa0sirVscV4Ka
	SjVPBjGgcvdtEdsYUV76QDHe+WOIul/PXWnizwwPX7U0CB53SKdSX3O9mQqClBBo5pJEMy
	xGS7m8Loay/SJkPT6JHL4IC4Z8YREFosqqYiLkvwF3tewhCu1V30foV7YiK/sVgJnfttnn
	RxAOetDpDHZbSX3QLG5fGvD0sKkdiG4ec+6cKvPjAKpIrd4RWBXQ37LBMJl/BQ==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=R9y7uvdW;
	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"
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1681224666;
	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=eq+X7gdPaotOEM+MLq7tRUVy50yxhDyGsqpey853Pvk=;
	b=Gwa4HsNfU/GXhmFmQz0JvwtyCnk3YLKEqc506Ewm7b4ScX/XB0ry6muth2eaS8hGVdUCFX
	NYC9qohyR3J41x0PgtmWlD8y0BEazjuCiNXYAN0t7QxUP9iQCPNf3gvfEwSCh+ohPsyWWQ
	QxxrSceeAwLlI65+Ce2yazirQOjAuNppuhYbZnKDMx8qBBKo1aSOWEIuFC87xMsSMQtSi1
	ozKeTM5vNFCm7xbUL269FwkYWvKzzkjw8H3xLu/qVSlF9WDcrJSz7iQumhjwm0oSbF3uUJ
	lFfks/r02hiwD43DraofoTN+26eZqGCg6Kvc1UIp5JjC65OLich4uGG41wxb9Q==
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=R9y7uvdW;
	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-Scanner: scn0.migadu.com
X-Migadu-Spam-Score: -10.75
X-Spam-Score: -10.75
X-Migadu-Queue-Id: DCE05364C1
X-TUID: vZ2lt149HxWR

Hi Maxim,

On ven., 17 mars 2023 at 11:07, Maxim Cournoyer <maxim.cournoyer@gmail.com>=
 wrote:

>>   https://gitlab.com/pjotrp/guix-days-fosdem-2023/-/tree/main/
>
> This is nice, I just peeked at "Debugging Guix beyond pk".  I'll
> bookmark and read more of it, thank you!

I was very interested by this session, especially after the recent
thread [1] about Guile debugger.  In that thread [1], Ludo wrote,
quoting:

        Also, I think I mentioned before that I almost never use breakpoint=
s on
        Guile code=E2=80=94not because of some deficiency of the debugger, =
not (just)
        because I=E2=80=99m silly or inexperienced, but because it=E2=80=99=
s rarely the right
        tool for the job.

and that=E2=80=99s the conclusion I came back to home: the good ol=E2=80=99=
 =E2=80=99pk=E2=80=99 is just
the right tool for the job =E2=80=93 considering the current state of Guile
debugger as discussed in this thread [1].

That=E2=80=99s said, the notes do not mention =E2=80=99guix-derivation-mode=
=E2=80=99 from the
package emacs-guix.  Well, last do not miss =E2=80=99guix-scheme-mode=E2=80=
=99 which
eases the reading of Scheme =E2=80=9Cbuilder=E2=80=9D code =E2=80=93 it is =
not always
autoloaded.

1: https://yhetil.org/guix/87fse69czr.fsf@gnu.org


Cheers,
simon