From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 sEynKa/LhGPUmgAAbAwnHQ (envelope-from ) for ; Mon, 28 Nov 2022 15:54:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mAOfKa/LhGMrUgAA9RJhRA (envelope-from ) for ; Mon, 28 Nov 2022 15:54:39 +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 959F13D484 for ; Mon, 28 Nov 2022 15:51:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ozfSc-0003yP-Tq; Mon, 28 Nov 2022 09:50:19 -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 1ozfSQ-0003xH-MC for guix-devel@gnu.org; Mon, 28 Nov 2022 09:50:16 -0500 Received: from mail-qt1-x82f.google.com ([2607:f8b0:4864:20::82f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ozfSP-0003Ok-0a; Mon, 28 Nov 2022 09:50:06 -0500 Received: by mail-qt1-x82f.google.com with SMTP id cg5so6757776qtb.12; Mon, 28 Nov 2022 06:50:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=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=QyRVpl0G/ReTZ+sRojjHNaUDLwGGbpMtSTXwnBkjnK8=; b=GuRfLsN9Fr/mMUMzyOo7OkR0CAdFhVgd1k4pUwqGa/MqUdQ0ekp3Ml3D1LFKZBGdkq D8IAGUpqNB3MNU4DbDPr6SSStIT5pEr9LKsTKKPZgvnWkAWW37BqLfOlNuc5ZLHkbsaz 0i0wcRjJDCa+CAV6JiziC6aWk1fNrmleaMhWiafdeEwN5j2l4oVDYtGKToTXKMAmkYO5 G0+XNIen+9gILG7j1PXxy/UFij974NOgWk09DVVXNHVY4EbCdeiNPjCQTqfUuuNB1K5w gCjm79IWC+aRZ4pgfW5yJBes1yUcorLC+5bHRG5jqFxpjZlt/4zM4jsZQQ2Un2wLwtKu 0Jog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=QyRVpl0G/ReTZ+sRojjHNaUDLwGGbpMtSTXwnBkjnK8=; b=004mKUvEaU/HAv9kRVLowfULTEuuLMHqdeU+UAeqfyzmjlnUxPFbCPDvDgIJMUCRHv wbIpYMpIG+XyhN+ae75b5I29Oxp2sgnioG82scpyx8gkv+93ZksrFkYvBwBIgUJuEvls 4k1EQOKZetv9qxud22mCSbHPA/ov01hV4xc9z99vv4obwkJ5r85oHIpwiL44Q7ei3uFK 3MMPuPkYc3/KLsVbX0cOeGTADIxhKyiBd2iW6wb548h5i3+aGjONMgnGs9oa7oBcT79s 1tp0LZmGS5OgXvM3ZscMlb3DxBRstmWsY205MHE/T4R0xS5nmNBJjI1XR+ilAyCKHfE2 De1A== X-Gm-Message-State: ANoB5pkW2A3EC+qQITiZylBkmUSyayA+rJ15ZNxXzAmp4g3wHSH9jlF7 kJuVS3xvpwuO0j9cNuBQV4e6JtZQyDU= X-Google-Smtp-Source: AA0mqf7/e9rRp+0yf+LNu0H/phRtljMNOwHa+SZyegPSACznBBt6ChkJQQzjwvquQ7h+CHsTM5v0wg== X-Received: by 2002:ac8:530f:0:b0:3a5:2c05:b909 with SMTP id t15-20020ac8530f000000b003a52c05b909mr47351964qtn.578.1669647002124; Mon, 28 Nov 2022 06:50:02 -0800 (PST) Received: from hurd ([2607:fad8:4:3::1004]) by smtp.gmail.com with ESMTPSA id d71-20020ae9ef4a000000b006e8f8ca8287sm8353543qkg.120.2022.11.28.06.50.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 06:50:01 -0800 (PST) From: Maxim Cournoyer To: Attila Lendvai Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , zimoun , guix-devel Subject: Re: Guile debugger workgroup? 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> <2m-RU6GKIEuW6fwb1WzaIhGyxUcl0eRO1o3xiVUTqIoVzrmdplzfGTAGBxrToB_Ii55lnXjVEyOtRPzI_iSuwuTQ733CjZ8XAvv39Ho6EGQ=@lendvai.name> Date: Mon, 28 Nov 2022 09:50:00 -0500 In-Reply-To: <2m-RU6GKIEuW6fwb1WzaIhGyxUcl0eRO1o3xiVUTqIoVzrmdplzfGTAGBxrToB_Ii55lnXjVEyOtRPzI_iSuwuTQ733CjZ8XAvv39Ho6EGQ=@lendvai.name> (Attila Lendvai's message of "Mon, 28 Nov 2022 13:41:49 +0000") Message-ID: <87r0xnt9pj.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82f; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82f.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=1669647063; 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:dkim-signature; bh=QyRVpl0G/ReTZ+sRojjHNaUDLwGGbpMtSTXwnBkjnK8=; b=qbnqUtGU3FL/Ql6BeKOe8RMEbzaxgyuaeiCCbl4Si63ZZ8K5tb0AXHMOYAmxSzvKBfsC7M Adh68cB/q0XvrfAptHol4siu9wAyiJv9nOFva2Mrh830iex7Tg4go3+6lcUKVyT5zkKGnB VLQ5mWZkP8sjNmqsLPo+CyEN50jTs2giykKa3kAdVAVJVCgIMz32Vs8RNxNsP2cztBHkpL 1cLw+nrAzZ33VSxZvLlnahrGO0Ol1zGiGXNs1Aw8tZ53a1DxjPlk49IysxrQxQ6t7POZJQ QVud6BWhpVCXEo6YMfYcsXPCZB+O81WJ0hvVI5TckKPRv7EKbpdAPYr+UZ//JA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1669647063; a=rsa-sha256; cv=none; b=Y6er24zMGtuJ5LYfKvmQT4mLa2d6GxjUA70Dgc6D+NbuCo3dKyhP9ouo/DbqCKmmJuDM5X iT1TW+TcoE5r/hPaTMG0dAnQAV/+64jDyJ2BtCKX8B/PfmxefvRXTGI5VHvSCeiBwwyq1l ImdeegDpc9KvdwDeWBoFqlAT14nVhmaUgfdLa2BqSFHjt14BSokXUXOLCbAW6jincGWb/y Y8g0EOO3QGv46CA665cQeOwOVUFeQOAqvQxHs4AvKXhwMu0/HgYE8KyfGjsD/bIlb3Yxi+ H3A3++0K4LOMMnmb/iGuYiCfGVf8fhfhg+ZZ6/rtYLc7XZTzIcIHjexUm/3ZDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GuRfLsN9; 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: -1.46 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=GuRfLsN9; 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: 959F13D484 X-Spam-Score: -1.46 X-Migadu-Scanner: scn1.migadu.com X-TUID: 5hWa617gOS/G Hi, Attila Lendvai writes: >> 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). The Guile documentation itself doesn't seem to be covered for that. It'd be a good place to start in my opinion. > this should also be added to the documentation, especially in the guix > context, where it's very much not as trivial as to change a command > line argument to e.g. start the guix daemon, or shepherd, in a > configuration that makes things more debuggable. That'd be nice yes. I think we should add the nice ideas/things noted here in a "Improve debbuging experience" section of the maintenance/doc/ROADMAP.org TODO. I'll get to it if no-one beats me to it. -- Thanks, Maxim