unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I get edebug online?
Date: Tue, 18 Jan 2022 01:06:52 +0100	[thread overview]
Message-ID: <87bl09aov7.fsf@web.de> (raw)
In-Reply-To: 87v8yij5az.fsf@ericabrahamsen.net

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> Well that was the "more or less" :)

Ok :)

But jokes aside: it really can be useful - but it's better to make the
variable buffer local.

If you don't have a clue why and where something strange is happening,
it allows to instrument a whole buffer's definitions.  Then you can set
edebug-global-break-condition to a sexp that checks whether the strange
things have started, and with some luck edebug drops you directly inside
the culprit.  If not, hit "d" to check the callers and instrument some
more stuff.

Michael.




  reply	other threads:[~2022-01-18  0:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-17 22:28 How do I get edebug online? Davin Pearson
2022-01-17 22:46 ` Eric Abrahamsen
2022-01-17 23:34   ` Michael Heerdegen
2022-01-17 23:44     ` Eric Abrahamsen
2022-01-18  0:06       ` Michael Heerdegen [this message]
2022-01-18  0:10       ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-01-18  3:43         ` Eric Abrahamsen
2022-01-17 23:55 ` Michael Heerdegen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bl09aov7.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).