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.user Subject: Re: jump-to-debugger (like Python's pdb.set_trace) Date: Mon, 14 Mar 2022 23:03:01 -0400 Message-ID: <87lexbdije.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5706"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: Guile User To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Mar 15 04:03:51 2022 Return-path: Envelope-to: guile-user@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 1nTxTT-0001Go-MZ for guile-user@m.gmane-mx.org; Tue, 15 Mar 2022 04:03:51 +0100 Original-Received: from localhost ([::1]:41346 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nTxTS-0006KV-7d for guile-user@m.gmane-mx.org; Mon, 14 Mar 2022 23:03:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTxSl-0006KM-I8 for guile-user@gnu.org; Mon, 14 Mar 2022 23:03:07 -0400 Original-Received: from [2607:f8b0:4864:20::f30] (port=42855 helo=mail-qv1-xf30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTxSj-0000Yg-Rm for guile-user@gnu.org; Mon, 14 Mar 2022 23:03:07 -0400 Original-Received: by mail-qv1-xf30.google.com with SMTP id e22so14090760qvf.9 for ; Mon, 14 Mar 2022 20:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=r+25DRcutmvWcQEkn5245CP4ZDx37aPIDmZFtx7SRc8=; b=UiizOBYarYUmY05Ct6Bh4LwjOVbxvlM25p/ots11qMBROicq5yVNkgyf04oXvOouF4 SlXtSXy76LiXsSrI14y5LAuTfWqPgzfpQBR8dDPHp8uhftrfTILKGhhWpHPR76FJWokm NnOh2UR6s/Fg/YJ1LC0PeRdsu1TwS71X6IVAVI0WqRMZkEzBX4Eum2BiXaDii+TicTCC 0Q6IoRFYz1AR3lPkqyfeMcpf/umQI/KApeYXh0fLjOYRpu9w0NL94yJZJ+q+nW0v93fW uQdiOo2TSC9PU5WJ4fkYZAHogABabuSsQ8kcbbGSJtu/XolN8gRwnNgaUrAOtwjhk7rQ df1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=r+25DRcutmvWcQEkn5245CP4ZDx37aPIDmZFtx7SRc8=; b=htyzfHd2u/w/R/sgtHgHd+zD+dtluZL7aJ56Bfck4eFH/+lo5jamhEvqhiy6MTP3K1 D7k0NlD5gtqq+trfBAhtUh+K5/UGPUbtFxQW0/LXPx7stIG2112X9TEj+qpn1Eu76dPd zrUeIw+0jpmxIU4kgGHg9+EAhR/v0MGlTsNmM3oz457D8ca6tAR1W+2UZ4wtU4PNowbI kWpwgKR2y5PNPTTRY6XRgI0un/KRusXQgfHvsH9LbaRMPPxlmUU1a9rb6Cr3a6cyGB5J ZYr9nt0BcrqFp5VIakyYcppX6SE0RW10TObvGUjzLEJBZEYNpaXvOUjFwnM4XjaGiiEv FoDQ== X-Gm-Message-State: AOAM532J9a21QEjYMO2dyRjW36qw49eLZc+56+Z6y8RyBXpx0sjq9+YG ub76Aawg0QkvGjRz8NUuc6TMWtLtQZA= X-Google-Smtp-Source: ABdhPJwy/Z5kdF/G6twxvtYxiSTrjN0C+6EeXUwYp2pWHkYYrGC4te2gcZP9GFbyoKLM5ktgYtu/hA== X-Received: by 2002:a05:6214:5007:b0:435:d096:f24 with SMTP id jo7-20020a056214500700b00435d0960f24mr19851489qvb.104.1647313384002; Mon, 14 Mar 2022 20:03:04 -0700 (PDT) Original-Received: from hurd (dsl-10-135-251.b2b2c.ca. [72.10.135.251]) by smtp.gmail.com with ESMTPSA id o4-20020a05620a22c400b0067e02a697e0sm429697qki.33.2022.03.14.20.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 20:03:03 -0700 (PDT) In-Reply-To: (Matt Wette's message of "Sun, 13 Mar 2022 13:47:52 -0700") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::f30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::f30; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qv1-xf30.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18209 Archived-At: Hi Matt, Matt Wette writes: > Hi All, > > I've put my "jump to debugger" code on github: > https://github.com/mwette/guile-jtd > > jump-to-debugger is a procedure that, when called, > stops execution and fires up a REPL.=C2=A0 It is much like > Python's pdb.set_trace() function. I've yet to try it, but I just wanted tip in and say thank you, as this is something that I had been missing. I hope you get to refine it and contribute it for inclusion into Guile proper :-). Thanks again, Maxim