From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Howard Newsgroups: gmane.lisp.guile.user Subject: Re: Interactive Debugging Date: Fri, 18 Oct 2019 05:38:03 -0800 Message-ID: <1571405883.4267.1.camel@librehacker.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="87576"; mail-complaints-to="usenet@blaine.gmane.org" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Oct 18 15:38:42 2019 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLSSn-000Mep-Gu for guile-user@m.gmane.org; Fri, 18 Oct 2019 15:38:41 +0200 Original-Received: from localhost ([::1]:40118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLSSl-0001Xo-Vr for guile-user@m.gmane.org; Fri, 18 Oct 2019 09:38:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53070) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLSSK-0001Qp-PW for guile-user@gnu.org; Fri, 18 Oct 2019 09:38:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLSSJ-0000Po-OY for guile-user@gnu.org; Fri, 18 Oct 2019 09:38:12 -0400 Original-Received: from mx.kolabnow.com ([95.128.36.41]:61672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iLSSJ-0000PM-DW for guile-user@gnu.org; Fri, 18 Oct 2019 09:38:11 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id 0D783B1B for ; Fri, 18 Oct 2019 15:38:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:mime-version:content-type:content-type :references:in-reply-to:date:date:from:from:subject:subject :message-id:received:received:received; s=dkim20160331; t= 1571405888; x=1573220289; bh=SjuF0Csm0DxGyh+F2BVuDy9lladQ63DYsQU M8r2F950=; b=mrLoXec4W9O/6Q0UBES8J/pCY++INfV6eiML1bmGYowpEthnc4k rUsLxSrmNsEzu26MrqCWjwhH1OSnPBFSmgIQ+QWKAFq1TWHqMuz/pClTXzxbIxHj NJBP46oPNFV8UUkff1/v2+NXMcFRnbBf9H7UlCUQsNIxS1nBuoYKhcnFI4ybDoU8 d9cx5gOHk1td1qnETqv1oYF58bdutiShs2MTuX/bZV9hnY/mk1MTCS0SM091gjGs 8cV1XNq9e7rTyJENeP2yVKsjAn5YpQfJbyPrfJ+Gq2Tz/Hbg7HIoBwnI0OGhW78i 4pDYNxj6YgcMzh0DedPBolqmQJdT4Eptk4Qx1hVc91z3rgptwxOXiYQ1P9OCU52X u2Fchka7Nu/VOOl0eJ0YQYPi5ZXHOaqZNpd/NuFo/vNw7KZCmwDPReulUcQekMtX xJgjSRzGQPCdE0zj1G15pcPI+aCw5uCNTWc02q3xSWCdaDe/pXHP+sgcktE6ycvp 6XFOtuVd5jI7GmiKVphbRbhIPVhCOnbuS/HqzugpKwRN6 X-Virus-Scanned: amavisd-new at mykolab.com Original-Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z74Q2dvcGIlW for ; Fri, 18 Oct 2019 15:38:08 +0200 (CEST) Original-Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 499073B0 for ; Fri, 18 Oct 2019 15:38:08 +0200 (CEST) Original-Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 0B2A6438 for ; Fri, 18 Oct 2019 15:38:08 +0200 (CEST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 95.128.36.41 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15767 Archived-At: >=20 > Define dump-into-debugging-repl as >=20 > (start-repl #:debug (make-debug (stack->vector (make-stack #t)) 0=C2=A0 > "trap!" #t)) >=20 > But as for getting access to locals I don't know if there is a=C2=A0 > solution.=C2=A0=C2=A0 I have worked on removing slot sharing in the CPS > processing=C2=A0 > but it's not working and I probably won't work on it anytime soon. >=20 > Apparently the best option for debugging is to use guile-1.8. >=20 > Matt >=20 >=20 For posterity: the required modules are ``` (use-modules (system repl repl) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0(system repl debug)) ``` --=20 Christopher Howard p: +1 (907) 374-0257 w: https://librehacker.com social feed: https://gnusocial.club/librehacker xmpp: creationist@member.fsf.org otr: E9685B53 01F038DD D29281C9 30FDA71E BD0095D4 gnupg: 23FD5CC5 (keys.gnupg.net) radio: KL1TL featured: https://answersingenesis.org/