From: Will Monroe <wtmonroe.ls@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Advice on troubleshooting function to "unscroll"
Date: Sun, 25 Jan 2015 16:01:35 -0600 [thread overview]
Message-ID: <54C567BF.7020302@gmail.com> (raw)
In-Reply-To: <87zj96frux.fsf@wmi.amu.edu.pl>
Marcin,
Thank you for that mini-lesson to help me get started with Edebug! It's
funny but I remember seeing a great visualization tool for Python
scripts that graphically depicted the sequence of steps in simple
scripts/programs. It was intended to help instruct novices and help
debug code. I remember thinking, "if only there were something for
Elisp tht did that". This is what I needed!
Will
On 01/25/2015 03:55 PM, Marcin Borkowski wrote:
>
> On 2015-01-25, at 22:43, Will Monroe <wtmonroe.ls@gmail.com> wrote:
>
>> Marcin,
>>
>> Thanks for your quick and friendly response!
>
> You're welcome!
>
>> Thanks for the advice about Edebug. It's definitely something that is
>> on my mind. But over the last day or so, I've hesitated from diving
>> into Edebug because there was no "error" as such. That is, the code
>> "worked" it just didn't do what I intended. Wasn't sure Edebug would
>> help in a case like that...but your point is well taken. Thank you!
>
> It might. It lets you step through the execution of some part of the
> code, seeing the result of evaluating each and every expression along
> the way. It may be very helpful sometimes. And it's easy to just start
> with it: just define the function with C-u C-M-x ("instrument" it for
> Edebug), and then -- when the execution gest to it (and pauses) -- use
> SPC to step through it or `G' to continue without stopping. When you're
> happy with your understanding what's going on in the code, press C-M-x
> on the defun again. (There's a lot more to Edebug than this, but it
> should be enough to get you started.)
>
> Best,
>
next prev parent reply other threads:[~2015-01-25 22:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-25 20:52 Advice on troubleshooting function to "unscroll" Will Monroe
2015-01-25 21:35 ` Marcin Borkowski
2015-01-25 21:43 ` Will Monroe
2015-01-25 21:55 ` Marcin Borkowski
2015-01-25 22:01 ` Will Monroe [this message]
2015-01-25 21:45 ` Marcin Borkowski
2015-01-25 22:03 ` Will Monroe
2015-01-25 22:09 ` Marcin Borkowski
2015-01-25 22:45 ` Drew Adams
2015-01-25 22:56 ` Will Monroe
2015-01-25 23:15 ` Marcin Borkowski
2015-01-26 0:03 ` Drew Adams
2015-01-26 0:16 ` Marcin Borkowski
2015-01-26 1:06 ` Drew Adams
2015-01-26 1:17 ` Will Monroe
2015-01-26 1:21 ` Marcin Borkowski
2015-01-26 1:33 ` Drew Adams
[not found] <mailman.18583.1422219396.1147.help-gnu-emacs@gnu.org>
2015-01-25 21:35 ` Joost Kremers
2015-01-25 21:57 ` Will Monroe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54C567BF.7020302@gmail.com \
--to=wtmonroe.ls@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.