From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: debugging elisp ? Date: Sun, 9 Jul 2017 20:58:18 +0900 Message-ID: References: <87a84evtaj.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1499601547 22882 195.159.176.226 (9 Jul 2017 11:59:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2017 11:59:07 +0000 (UTC) Cc: Emacs-Devel devel To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 09 13:59:00 2017 Return-path: Envelope-to: ged-emacs-devel@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 1dUArb-0005XN-Ic for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2017 13:58:59 +0200 Original-Received: from localhost ([::1]:35761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUArg-0005el-Sx for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2017 07:59:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUAr4-0005eT-Av for emacs-devel@gnu.org; Sun, 09 Jul 2017 07:58:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUAr1-00063Z-AM for emacs-devel@gnu.org; Sun, 09 Jul 2017 07:58:26 -0400 Original-Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]:36781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUAr1-000634-3N for emacs-devel@gnu.org; Sun, 09 Jul 2017 07:58:23 -0400 Original-Received: by mail-pf0-x22b.google.com with SMTP id q86so36828479pfl.3 for ; Sun, 09 Jul 2017 04:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=1Vc+rMOTlNd4dyYV4pzzMALhmlI49TMo1hwV1lIHHLk=; b=J0uxU4EQD6RIMFyMum8qQVUmrjw1H0f3Slrk9hpaIW3lnDtaJqgD/702yYGJ2LKsfw v4CLjx8PH3NEeR+qI6D/s2wRYp6j6z74GaV+cUbNSnjb+qXWf2lJ1oz0ENpqO5KiP/Hh JQvT2/foT3o2mDiTbsGvy2q522tBpXzHF27U5Dc5aknH2KWPSDC0N49HG8IdbsAWpFRE 3fBnXq/kS47M4ATXUd0rzWh+PNB2b/vLfhUBF14Qx93Wu3x5wQ9VWsMQO77yx6DrTgDL vESbdVKuXQbVqfntKG5jj9gUMcqy2GKDhRbhYHLDOSazVoCbXBhtFF7/uB6XVrs0tKRq 2Rgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=1Vc+rMOTlNd4dyYV4pzzMALhmlI49TMo1hwV1lIHHLk=; b=iVs+VldQ/KNk9rF+72sJxDuk0HbZS8aa1KiyxFg7UVlW/IkmELbzL/GdDenBQiyP+x Q3zkbJMNPt0Bs2tw3xMfOcwDSGEnn7gR+bBqQpohM4VCP8sZ2kSys2s5Qq2udoO2i6sz 7V0JMQZuyHvsyoODzLgO9xEcEBo3mUhZhM+ovmL8369azXvE05JAW3AP6ZtoGBmIX7br R5r4EfR9VymrcS+h+n4Kanwg+AZrjMuQLEdTXaYmcr1JAMHpqg6PZQKU7tbdrx6W/0iN wtQhba4RYzJpxad7t7ybCH1bnArVcwz1jOkFqu+beyxrD4yjsPqs8Q9Otih2qjKMo+oQ k4Rw== X-Gm-Message-State: AIVw111PMv2TgP4M4NaR5SIIU9z0kON0NcEFjOzbJZNBcVmV94IYzDob fNrCMsKcyV/+5VQ5aaA= X-Received: by 10.84.130.42 with SMTP id 39mr12560444plc.60.1499601502155; Sun, 09 Jul 2017 04:58:22 -0700 (PDT) Original-Received: from [192.168.24.55] (pl2587.ag0304.nttpc.ne.jp. [128.53.196.27]) by smtp.gmail.com with ESMTPSA id x5sm14515211pgq.18.2017.07.09.04.58.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 09 Jul 2017 04:58:21 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216359 Archived-At: > On Jul 9, 2017, at 20:48, Noam Postavsky = wrote: >=20 > On Sun, Jul 9, 2017 at 6:49 AM, Jean-Christophe Helary > wrote: >>=20 >> My limited understanding of the documentation tells me that I can't = keep the debugger working during the whole package session. I can call = it on package-list-packages and it will run until the package list is = displayed, and then it quits. >>=20 >> Does that mean that I have to mark all the package functions for = debugging ? >=20 > Yes, you can do that with the following code: >=20 > (require 'edebug) > (require 'package) > (mapatoms (lambda (s) (and (fboundp s) > (string-match-p "\\`package" (symbol-name s))) > (edebug-instrument-function s))) Thank you very much. So there is no way I can run package without marking all the functions = for debugging? Jean-Christophe=20=