From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Wette Newsgroups: gmane.lisp.guile.user Subject: Re: Stack traces Date: Wed, 15 Feb 2017 17:10:41 -0800 Message-ID: References: <87h93wto3y.fsf_-_@gnu.org> <87mvdn4gam.fsf@dustycloud.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1487207579 21158 195.159.176.226 (16 Feb 2017 01:12:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2017 01:12:59 +0000 (UTC) Cc: =?utf-8?Q?Ludovic_Court=C3=A8s?= , guile-user@gnu.org To: Christopher Allan Webber Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Feb 16 02:12:52 2017 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ceAcp-0004VQ-E2 for guile-user@m.gmane.org; Thu, 16 Feb 2017 02:12:47 +0100 Original-Received: from localhost ([::1]:43749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceAcv-000489-6g for guile-user@m.gmane.org; Wed, 15 Feb 2017 20:12:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceAaw-0003A0-4B for guile-user@gnu.org; Wed, 15 Feb 2017 20:10:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceAav-0004Be-5Y for guile-user@gnu.org; Wed, 15 Feb 2017 20:10:50 -0500 Original-Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]:36004) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ceAar-00048R-AA; Wed, 15 Feb 2017 20:10:45 -0500 Original-Received: by mail-pf0-x22f.google.com with SMTP id 189so984084pfu.3; Wed, 15 Feb 2017 17:10:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=E+gBXFN5QPQdKR+p8gW9g8qBFWPrMOD/a9wRHrhwXSM=; b=mexjUvsb58v3M4xp4YN3g1Zzr80A45NdFBXL8pLBwnqcTrA/wsaWpN4AfZG7wwYhT5 RN5pr9rCLcYEsTS7inRxxVXpAkLm4W7ExmIpCbkgn9CNtplzR1OZ3LMQb9sFjlKcLkhG QtXn5LE9Cks/TYAVBnCLyugTCsyTc4BdjWkpgFQmH5CqfzsxdS6OXUVhz0bifoaQHArx Wue0gF9xU7I7PjOkJYfNgqYKDyoFrGz/5cVzGiiGBVvbboQP2fDPvZEH5HZS3+m6Lyvu qJtMXfUpjWmmXuyJJgk2yyyvWEZa/f3ifvEQ1LpUMC5TOzw4qQtKc71cbqVuMucjuWux 9vNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=E+gBXFN5QPQdKR+p8gW9g8qBFWPrMOD/a9wRHrhwXSM=; b=bQtueiFiB75/xLbS7HSCSH1kLMZu0IBLyNLvt2BYMrvEKPfKOChCyO3qL8VCMo8aX0 BwVyf9/WSHQphvsqE5RUENV65R+5KhYugoQCCIggMUzei95PZHlrgPrJpColyGVYYRBF EkQH6xx9FJjlREX3SNxnorIN52iiFAay0CM1P4p6UiIbmZlQAbm5c7sqsV5sFPsp2rPe u2f0l2AYToKmpNTwG6oxFeWELVYWnBUzTryP0Fwn/qbKmaMPQUAxRV1bqimiKkMCHRDo eOChILsLfk1OQEB4aPiOHgPliqIQcCfWesmx5sPyiPYsaDfuwSs29bc6oWdtb8BXNH9a jyJA== X-Gm-Message-State: AMke39nk/8zEAvA5zKEzo2LpbHaboxeziLBtFBsiX82mel2NZ3WZ10+KxMF2wNDUIlxzHA== X-Received: by 10.99.141.195 with SMTP id z186mr472644pgd.141.1487207444142; Wed, 15 Feb 2017 17:10:44 -0800 (PST) Original-Received: from nautilus.championbroadband.com (216-165-246-244.championbroadband.com. [216.165.246.244]) by smtp.gmail.com with ESMTPSA id f191sm9687118pgc.12.2017.02.15.17.10.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Feb 2017 17:10:42 -0800 (PST) In-Reply-To: <87mvdn4gam.fsf@dustycloud.org> X-Mailer: Apple Mail (2.3259) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::22f X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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:13241 Archived-At: > On Feb 15, 2017, at 7:36 AM, Christopher Allan Webber = wrote: >=20 > One thing that we see requested a lot is how to do the equivalent of: >=20 > import pdb > pdb.set_trace() >=20 > in python, just dumping something to "trigger" the debugger somewhere. > I seem to remember getting some arcane code to do something similar, = but > maybe we can just have a simple invocation that people could put > anywhere. (Amirouche has been raising this one also I think.) >=20 ^^^This is exactly what I yearn for. I asked about this before and got = the following hint, but could not get anything to work. (use-modules (system repl repl)) (Use-modules (system repl debug)) ... (start-repl #:debug (make-debug (stack->vector (make-stack #t)) 0 = "trap!" #t))