From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Re: debugging elisp ? Date: Sun, 9 Jul 2017 07:48:44 -0400 Message-ID: References: <87a84evtaj.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1499600976 10094 195.159.176.226 (9 Jul 2017 11:49:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2017 11:49:36 +0000 (UTC) Cc: Emacs-Devel devel To: Jean-Christophe Helary Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 09 13:49:30 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 1dUAiO-00022w-3i for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2017 13:49:28 +0200 Original-Received: from localhost ([::1]:35747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUAiQ-0004Ur-1A for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2017 07:49:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUAhk-0004Ul-Ms for emacs-devel@gnu.org; Sun, 09 Jul 2017 07:48:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUAhk-0001B4-06 for emacs-devel@gnu.org; Sun, 09 Jul 2017 07:48:48 -0400 Original-Received: from mail-oi0-x232.google.com ([2607:f8b0:4003:c06::232]:35128) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUAhj-0001A0-QY for emacs-devel@gnu.org; Sun, 09 Jul 2017 07:48:47 -0400 Original-Received: by mail-oi0-x232.google.com with SMTP id 191so56481399oii.2 for ; Sun, 09 Jul 2017 04:48:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=48drxpKYiTDqwzw99eBLI//5OdQ4xZdCWKG/mLmcvGw=; b=ThgR9nIP4ByJBBb7KczpmlPxxzbDc65VI8+ebEJsQH2sXqpfmguAQu2dRITMdIyhw1 +7Zwz9MNRxkNLfhtekXL2V6d0mv/jquOwfXApa3PumJiFnPLqHd7tp6S0hi7WFTCFHxK Hw9isI0sf5B1hckoAsNcyC6JiTbpv9yWRD4jlEH4OqcoI3q9BNvUQf1ULahuE/iWWlhF BLKW3qlCy9eHCUs7fEMFXdc31voILiNC5gsODPF/qriDapknuD7Qd59WP3eCQt75s1je AXjZbSvg5rJ+mboe/5jHpWvQ6LI7L2XG+2DNjeVjDq6d3O1+3E9b6ES6vQCZYNUmfLWB biPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=48drxpKYiTDqwzw99eBLI//5OdQ4xZdCWKG/mLmcvGw=; b=lvDc04GMXuK9bqsolqyOT1o2Vn+RLI1gQh+nOwMgRdmekkaxkAQ/EzEpFBxkbyxvAE KlTupvyBN4vNc2gYxTL94fKELSv5KBw0n75PsosG4mD64mT35r5eq6TARS7Z9PBb3AP1 Y+ns2WHEfqFmXAbW3Dd+1Dnu2Own2/G7nu3JG4wRA0q5pf1xJRwBfg963bkTwfrXkbkE UUtvMa3ooyfGKALa+nBIazzwWwAfDM5Nsm5fZYPLp+5fVNkoscgxBoHhyjvEfIQmkjgr Zcm/p9LCGnlDZgngLpXPQL0Ads81JkWkZw9e9YqYwfePRPp3+rl7UpYN37vERE9w0jB1 LEPQ== X-Gm-Message-State: AIVw111LjtrXwE2zdFXfM61Ns/O5iGuJuvonGVX5QBll+WIAmMl43V/u 3PJJ7w52h+K9fCoXBE49NgWbhQAJ1Q== X-Received: by 10.202.87.130 with SMTP id l124mr5000571oib.180.1499600925425; Sun, 09 Jul 2017 04:48:45 -0700 (PDT) Original-Received: by 10.74.113.91 with HTTP; Sun, 9 Jul 2017 04:48:44 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: kYs_-VWp3Qk7dgZqA2hTS8FTs0c X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::232 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:216358 Archived-At: On Sun, Jul 9, 2017 at 6:49 AM, Jean-Christophe Helary wrote: > > 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. > > Does that mean that I have to mark all the package functions for debugging ? Yes, you can do that with the following code: (require 'edebug) (require 'package) (mapatoms (lambda (s) (and (fboundp s) (string-match-p "\\`package" (symbol-name s))) (edebug-instrument-function s)))