From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxim Cournoyer Newsgroups: gmane.lisp.guile.devel Subject: Re: A Guile debugger workgroup? Date: Wed, 01 Mar 2023 10:59:14 -0500 Message-ID: <87pm9sh38t.fsf@gmail.com> References: <87edtlptgv.fsf@laura> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8763"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Cc: Olivier Dion , guile-devel@gnu.org To: Neil Jerram Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Wed Mar 01 16:59:50 2023 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pXOrt-000299-WB for guile-devel@m.gmane-mx.org; Wed, 01 Mar 2023 16:59:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pXOrQ-0001tN-NH; Wed, 01 Mar 2023 10:59:20 -0500 Original-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 1pXOrP-0001t9-A4 for guile-devel@gnu.org; Wed, 01 Mar 2023 10:59:19 -0500 Original-Received: from mail-qv1-xf31.google.com ([2607:f8b0:4864:20::f31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pXOrN-0001S9-Ny for guile-devel@gnu.org; Wed, 01 Mar 2023 10:59:19 -0500 Original-Received: by mail-qv1-xf31.google.com with SMTP id f1so9531804qvx.13 for ; Wed, 01 Mar 2023 07:59:17 -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=CTetzb4Ms9lJWVLWHnVbk2cFfYYPfecUmrtnf6PTFk8=; b=UkENC7+vUhJ9uN4Xy0xC8X4AE2gsUMeLKJerM37Y4aok7HnkizWH6ENwTTBwIt9m9B BsInFii23l/GcFJKMUduynzN86BdUnYxRfTzvxqGffKFU2FXuJ3Bh4nBx93gHAGTTbN9 Ju2hbodeqpAsv1q4HWER0Xezl7+C6YQSDKBhFP+2x8hnfsqJezmBOjw2SmlnI6a3zoej QdKDd2wuRqedXyqC+YgxYDnAw27+3bqnOlJzimwIeYCyzsrAMfDT3jCiFobh+S0eIPRP WtdwZh/kWi5MoauCbHu0Hnz3zjCeEVMOESV3u3YdGXfsKJlzvIFTM4uYogOej0N6KXI0 QeyQ== 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=CTetzb4Ms9lJWVLWHnVbk2cFfYYPfecUmrtnf6PTFk8=; b=HkPIZqIh3nVBZvCzHUaboVbh6b2wzBRosIjl7lvmtJJa+Y9jPjF41OJXIHOOWI3L5F ZdABqKVze4/kYKrCJxbFXXJCIQMkm5A6fATNng/U98b1aE+cngjCoheCIVVOsqw5V69a +HNqK9HAPOuqQ08ssOx7NTgkgjSyfBbFeaPs9kVdFPJXoUb/6Mj1KqFH13zELDDSzBgO wWdYnDp4KNJ/p9JbV2N9v1HtuYmLrVDBfHbsVvJGC0tLIAwxq0gmnvlPvBNyf8pvUN8h cM/Ay7ryNsisV5I7bRc9C2FEMYhIjtV3P+M1UpfamWQhV7O5XvoWFISeMAkGgLn8CEA+ BO2Q== X-Gm-Message-State: AO0yUKVTgSygROmP0K8SqQRrAFIJFpbDj+wEwKvbsYZllCzpR+ZadYfD DUn3gZrGt4FEF2qqGDnh7tMpWLK2hZGq1g== X-Google-Smtp-Source: AK7set+OKwv1FbjaKElB4E5/j3f5jcGlY/aLSHQu3Ah7uSZHPaWK07wX+ytqauCrmwZ2PAOEdwwUyQ== X-Received: by 2002:a05:6214:246c:b0:56b:f017:c2e4 with SMTP id im12-20020a056214246c00b0056bf017c2e4mr13734243qvb.47.1677686356602; Wed, 01 Mar 2023 07:59:16 -0800 (PST) Original-Received: from hurd (dsl-10-130-29.b2b2c.ca. [72.10.130.29]) by smtp.gmail.com with ESMTPSA id p16-20020a05620a15f000b0071d0f1d01easm8978183qkm.57.2023.03.01.07.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Mar 2023 07:59:16 -0800 (PST) In-Reply-To: (Neil Jerram's message of "Tue, 29 Nov 2022 17:58:24 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::f31; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf31.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: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:21764 Archived-At: Hi Neil, Neil Jerram writes: > I wrote something called GDS, back in 1.8 days, that combined some of > the Emacs interaction features that we now have with Geiser, with > step-by-step debugging and breakpoints. You can read about that here: > https://www.gnu.org/software/guile/docs/docs-1.8/guile-ref/Using-Guile-in-Emacs.html#Using-Guile-in-Emacs Thanks for sharing; unfortunately the page has vanished, it seems, and I couldn't find an alternative link. Is the GDS source still available from somewhere? Perhaps it could offer hints about how to integrate Guile with Emacs. I'd think the lowest friction, most maintainable way though would be to ensure that the existing Guile debugger covers all the use cases we want it to, and then bind it to Emacs using GUD, RealGUD or a similar existing library. That way it should be also be possible to use it with other IDEs, which'd help with democratizing Guile, in my opinion. > Unfortunately the debugging side of GDS was based on the low level > traps in the 1.8 interpreter, and that was all blown away in the 2.0 > rewrite, so GDS stopped working at that point. I don't know what > modern equivalent 3.x has to the 1.8 low level traps - perhaps we > would instead advocate for recompiling the relevant code with extra > instrumentation, like edebug does? Edebug offers a great debugging experience, so if we can mimic any of what it does, it'd probably be a good thing! -- Thanks, Maxim