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 08:13:02 -0400 Message-ID: References: <87a84evtaj.fsf@jane> <878tjxx1m4.fsf@jane> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1499602392 22995 195.159.176.226 (9 Jul 2017 12:13:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 9 Jul 2017 12:13:12 +0000 (UTC) Cc: Jean-Christophe Helary , Emacs-Devel devel To: Marcin Borkowski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 09 14:13:08 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 1dUB5H-0005d9-QB for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2017 14:13:08 +0200 Original-Received: from localhost ([::1]:36081 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUB5L-0008R1-Fj for ged-emacs-devel@m.gmane.org; Sun, 09 Jul 2017 08:13:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dUB5F-0008Qw-PO for emacs-devel@gnu.org; Sun, 09 Jul 2017 08:13:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dUB5E-0007tw-T7 for emacs-devel@gnu.org; Sun, 09 Jul 2017 08:13:05 -0400 Original-Received: from mail-oi0-x235.google.com ([2607:f8b0:4003:c06::235]:32847) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dUB5E-0007tT-Mw for emacs-devel@gnu.org; Sun, 09 Jul 2017 08:13:04 -0400 Original-Received: by mail-oi0-x235.google.com with SMTP id p188so56569192oia.0 for ; Sun, 09 Jul 2017 05:13:04 -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=BdZf9QB19XtiPdV6oujRMRIf3AfbotkT6uBMjesMowk=; b=fsnjzjuHpe0OwbdkVqIfWuPMJQ991xKnufS+RcshaUsIKNs+SLlGB3mDA2B4koMczM zu0oKz9s0kDXqZQV2Khss12nwNz6iR/ZgMzKouGSQA7tKHANLW8ITSfNOspMdLQ00bTU oIGA6E2HvJPk56R/hKPIeExPsgupYA76DZnIcHAiHAWzQOrFiPODNj5Z+A50UP6QBhXp aIjfl+odSZSkrh8YTTZRayEDjLb+URzQlH1ZvRq48L5lZ73lP5Yby53P48x2dhG4Oa1Y /yufvvMRfL61sjMl/Tk8b3R1uGESdxkd+NwxfsGkDb30kXXDf6WXoxnB69e2KMKcaOpZ UFCg== 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=BdZf9QB19XtiPdV6oujRMRIf3AfbotkT6uBMjesMowk=; b=VRa81UbRcdlUb1Of2p8ZmOlmj22klQZrwKbKHF+NuUQDgku9HjEhHdfxDW5sCsF7mS kWv3lnwJqF7l7cm+lAmJ1aq4xK4JVe7I5Xy4JO7oZQdUlKZb47jm+GF1enC39562RNOr 1BBlpThXy+yfc1hDWOUu8+HnWTUSoVHlxfuQRNQ26vPrYNjpt90m0EQAjkc7qEq4OpAk fSu/x95ERj7Jw+YY9Aq3heOHr682zWNzm5YWoyY7j3IMTIER/LI0jPvCW2UhPRuQ2H0l +JgV5KuAN3MwsokFJ/YiZuC5f7AQKEckRWwOcKvZbG+aSwe5VULN8bTjvnj5BEejz0kZ dRUg== X-Gm-Message-State: AIVw112SG80FVxoY8b7Kquwbos8epfugNzWNgekdXg/v/8CFsu07BYbH 8YO+KBEA2c1TKCMAsZXNMFq1527B0w== X-Received: by 10.202.4.9 with SMTP id 9mr6228851oie.141.1499602383007; Sun, 09 Jul 2017 05:13:03 -0700 (PDT) Original-Received: by 10.74.113.91 with HTTP; Sun, 9 Jul 2017 05:13:02 -0700 (PDT) In-Reply-To: <878tjxx1m4.fsf@jane> X-Google-Sender-Auth: a0ypi66u2b0j_7w1RKYPipjAdvQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::235 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:216361 Archived-At: On Sun, Jul 9, 2017 at 7:59 AM, Marcin Borkowski wrote: > > Won't > M-x edebug-all-defuns > and then > M-x eval-buffer > in package.el work as well (and be easier)? Oh, yes, good point. I usually mark only some functions with edebug-instrument-function in a dolist loop, so I didn't think of the more straightforward way. On Sun, Jul 9, 2017 at 7:58 AM, Jean-Christophe Helary wrote: > > So there is no way I can run package without marking all the functions for debugging? You can run package without marking it, but you can't step with edebug through a function without without instrumenting it first. You can instrument other functions while debugging if you see something interesting, see (elisp) Instrumenting.