From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: running my elisp step by step ? Date: Fri, 7 Dec 2018 06:21:12 -0800 (PST) Message-ID: <9bf2a063-9987-459e-8db0-fe88f599e4fe@default> References: <4624C4B0-4DA1-457A-9F6B-3A7F9AE4FE63@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1544192391 11762 195.159.176.226 (7 Dec 2018 14:19:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2018 14:19:51 +0000 (UTC) To: Jean-Christophe Helary , help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 07 15:19:47 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1gVGyo-0002uL-3L for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Dec 2018 15:19:46 +0100 Original-Received: from localhost ([::1]:46479 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVH0u-00023i-I6 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Dec 2018 09:21:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVH0K-0001tV-H5 for help-gnu-emacs@gnu.org; Fri, 07 Dec 2018 09:21:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVH0G-0002oW-If for help-gnu-emacs@gnu.org; Fri, 07 Dec 2018 09:21:20 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:49804) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gVH0G-0002lS-9R for help-gnu-emacs@gnu.org; Fri, 07 Dec 2018 09:21:16 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id wB7EDX52082261; Fri, 7 Dec 2018 14:21:14 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=SfprvIwCVHCP/Wk9VOtAjXlLPTWit2vbpBbmbEP490o=; b=gV7i6qUrp4qXiVR60cyFF2qw2OMzjCgic5Iw9ZDwQKHkq26cNSsmOCcsgH7ALzma3tRv LfENnPKYROXBPr437ITW4Z11wHROsb2GXR6wGissdmiTbiTIca/t1be4yBNwmz/5aGef tn1QFuSH534slm2ZWrr8jqgZC4j5UdNfW5WWbETwf8qNWEVUKBMw8mp4AlEHhohWpR9B 0DF2UHsAt3gLtk4ZrW1KHOmSwbSuoyCB7DqE8TpQ0gMrUrDaL9CEzmQeISXHAbB6n82H pOa5acFRahm1oE6hsAklbd9u+KtK9tUdQ0b7/tqzpYmjnLQT34PJ1CEi0z6Xxz7kD494 lg== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2p3jxrx0m1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 07 Dec 2018 14:21:14 +0000 Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id wB7ELDtZ002275 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 7 Dec 2018 14:21:13 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id wB7ELD1B010723; Fri, 7 Dec 2018 14:21:13 GMT In-Reply-To: <4624C4B0-4DA1-457A-9F6B-3A7F9AE4FE63@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4771.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9099 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=843 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812070114 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.85 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:118907 Archived-At: > Is there a way to run my elisp step by step and to see how all the > variables are changing as I step through the code ? `M-x debug-on-entry SOME-FUNCTION' Or insert calls to `debug' anywhere in source code, to enter the code there. This is helpful, for example, to debug what happens in an `interactive' spec (since `debug-on-entry' kicks in only after the `interactive' spec has done its thing). See (elisp) `Invoking the Debugger': https://www.gnu.org/software/emacs/manual/html_node/elisp/Invoking-the-Debu= gger.html