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 uABeAi67hGNUUAEAbAwnHQ (envelope-from ) for ; Mon, 28 Nov 2022 14:44:14 +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 CNSLAS67hGMKPAEAG6o9tA (envelope-from ) for ; Mon, 28 Nov 2022 14:44:14 +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 7A841397FC for ; Mon, 28 Nov 2022 14:42:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozeOi-0002C2-7t; Mon, 28 Nov 2022 08:42:12 -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 1ozeOg-0002BW-5J for guix-devel@gnu.org; Mon, 28 Nov 2022 08:42:10 -0500 Received: from mail-0301.mail-europe.com ([188.165.51.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ozeOb-0007a7-Ve; Mon, 28 Nov 2022 08:42:08 -0500 Date: Mon, 28 Nov 2022 13:41:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail2; t=1669642918; x=1669902118; bh=COvgRJ2xoxpJLegPaVmrZTSSKyM3/r3sDSb22fvPh+I=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=ykNiVpikuP1zgR4rzUZO2x0KupVBquWUlVl1LpHeDoYxZtjRQfE+dMWicZ9XOgqp8 PL94o06InHRi7hvH9El2yjokzKXzy2IoTwqLsL+j2GUcXPBe+++WU/Q3/BooUWdfSf 7LzSrNQsEZS/wpxA7d4aNGbBqJU2GEGhaWvutQzlYW1+avLQiplFYk81N3krNlMHeM PRqobZqlwqbeAz6jRiXOh6sBZYB0iHVliXdOZrqV1EXYQ0gOzRgigj4mVG1d7p1yes FCRGMxeYi4baD7/5yc8vlL1xD8ZwhM1pY/G5qIjQYjM+zA3P2LrbNg6slJ1rMg/JDR qMOOf4iNlC4Hg== To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: Attila Lendvai Cc: Maxim Cournoyer , zimoun , guix-devel Subject: Re: Guile debugger workgroup? Message-ID: <2m-RU6GKIEuW6fwb1WzaIhGyxUcl0eRO1o3xiVUTqIoVzrmdplzfGTAGBxrToB_Ii55lnXjVEyOtRPzI_iSuwuTQ733CjZ8XAvv39Ho6EGQ=@lendvai.name> In-Reply-To: <87sfi3e4eb.fsf@gnu.org> References: <20221027035100.28852-1-maxim.cournoyer@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> <87edtpw0hq.fsf@gmail.com> <87sfi3e4eb.fsf@gnu.org> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=188.165.51.139; envelope-from=attila@lendvai.name; helo=mail-0301.mail-europe.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, 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=1669642967; 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=COvgRJ2xoxpJLegPaVmrZTSSKyM3/r3sDSb22fvPh+I=; b=L9CfrNSuBScacrmdM2v1uL8GjnQId/+gA+YV0r7m7CJhO1GJvdSsN6fGKi6cN+yVEqF76U jWg26qTcfW4+dKInPWPiEurh2e+aG0LRzBWso3JGkpPwDLkaL7GekLaq/HxuSLmW/GDtGH jLEAfJmK4kiesF2rQCMgJWlCIfiFrTaVY6TTp2gcVOXDBN74TNwCAxrGqnMUywBvNeyrKs rm5Tm8g6ey4WqFhV8CJfd2OqBBGJthnUOrUb84xZVIsYioeTGGo6Z53skBdML3zNCesBeu kXJwbPS1qlp1lOch31nkOscUqvazR15kK8xNEnl7ycMmf8/vMP7YSrL+3uf+jA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669642967; a=rsa-sha256; cv=none; b=MrdiGdd3Qrb18xvoCQRb/Rnne4zW939B+2bvTV/5qogScAcyEnxcpdITXdQ4tcmEjVFpmU Fe2f0TPXLRYog6KqtfBB7AFafgvGpq4XSogjO66JmUMM1z/gCV/5uUlQXIoyacmRG1+2Dz n9dExmvayYY+P/pSnNqrCdp5bTNqw6qK+QIECRKGYj94fyDFz8zdoa+sk8h6vKQCfdb8JO 49eMngxsvcbeRSyO7c98dP0GCbJX0niXNLv2xQsDFDjz2fhA2CEL56UkWwJKlcGxd7finN hEQ6LFVQ6FVY24ObkWoVokjPy5JSljtBto8xev0Ytk2OEc/6ZsRLojEVSKv8WA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail2 header.b=ykNiVpik; 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: -0.96 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail2 header.b=ykNiVpik; 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: 7A841397FC X-Spam-Score: -0.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: zFZFI4YJ4hPS > The scenario you describe above should be possible above (there is a > debugger that supports breakpoints and single stepping). Now, it may > be, as you wrote, that inlining can lead breakpoints to never be hit, or > that there are bugs in this area. These things should be fixed, I agree. i'm sure there's a way to globally override the debug/optimization/inlining= level in guile to make sure the code compiles in a way that no breakpoints= are missed (and/or backtraces remain more intact, etc). this should also be added to the documentation, especially in the guix cont= ext, where it's very much not as trivial as to change a command line argume= nt to e.g. start the guix daemon, or shepherd, in a configuration that make= s things more debuggable. --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CKnowledge makes a man unfit to be a slave.=E2=80=9D =09=E2=80=94 Frederick Douglass (1818=E2=80=931895), a former slave.