From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Is there a way to instrument for edebug a form (say, a progn) given to `eval'? Date: Wed, 30 Dec 2015 09:11:33 -0800 (PST) Message-ID: References: <87k2nw866r.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1451495535 27881 80.91.229.3 (30 Dec 2015 17:12:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2015 17:12:15 +0000 (UTC) To: Marcin Borkowski , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 30 18:12:03 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aEKI7-0003Vu-1W for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Dec 2015 18:12:03 +0100 Original-Received: from localhost ([::1]:53198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEKI6-0006L6-AS for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Dec 2015 12:12:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEKHv-0006Kq-Ab for help-gnu-emacs@gnu.org; Wed, 30 Dec 2015 12:11:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEKHq-0000du-Aw for help-gnu-emacs@gnu.org; Wed, 30 Dec 2015 12:11:51 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:26433) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEKHq-0000dj-2P for help-gnu-emacs@gnu.org; Wed, 30 Dec 2015 12:11:46 -0500 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id tBUHBg9L021425 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Dec 2015 17:11:42 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id tBUHBf3S028496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Dec 2015 17:11:42 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id tBUHBcCc012604; Wed, 30 Dec 2015 17:11:38 GMT In-Reply-To: <87k2nw866r.fsf@mbork.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108529 Archived-At: > the subject says it all. And please don't tell me that eval is evil; > that I know, in fact, I'm asking partly to gather some arguments;-). Dunno about edebug (I don't use it). But you can invoke the debugger by just inserting `(debug)' as the first arg to progn (or anywhere else): (eval '(progn (debug) ...))