all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "David Vanderschel" <DJV1@Austin.RR.com>
Subject: Re: unedebug-defun?
Date: Fri, 12 Sep 2003 11:49:22 -0500	[thread overview]
Message-ID: <GP6dnei6P5OIZPyiRTvUqQ@texas.net> (raw)
In-Reply-To: mailman.168.1063289005.21628.help-gnu-emacs@gnu.org

"David Abrahams" <dave@boost-consulting.com> wrote in message
news:mailman.168.1063289005.21628.help-gnu-emacs@gnu.org...

> Once I do `M-x edebug-defun' there appears to be no
> easy way to keep edebug from stopping at the
> beginning of the function forevermore.  ...

I came close to posting a very similar 'plaint a few
days ago.  The responses to David's question so far
address the issue of how to remove the edebug
instrumentation from a function.  That may be
sufficient for David, but I was never unclear on
that.  The issue for me was that I wanted to be able
to instrument a function and still not have it break
automatically when invoked.  I wanted to set a
qualified source breakpoint so that it would only
break when the argument satisfied a certain
condition.  Doing the obvious thing - removing the
break at the beginning of the function when first
invoked - does not work because edebug does not admit
to there being a breakpoint there.

The key to this issue may be found in the Edebug
Execution Modes node of the info file for elisp.  In
particular, the variable mentioned at the bottom,
edebug-initial-mode is key to accomplishing what I
want.  I had realized that "go" mode sounded right,
but giving that command after the break did not help.
Setting the variable does it.

Regards,
  David V.

  parent reply	other threads:[~2003-09-12 16:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.168.1063289005.21628.help-gnu-emacs@gnu.org>
2003-09-11 14:16 ` unedebug-defun? Glenn Morris
2003-09-11 14:59   ` unedebug-defun? Johan Bockgård
2003-09-11 15:09     ` unedebug-defun? Glenn Morris
2003-09-12 16:49 ` David Vanderschel [this message]
2003-09-12 16:51 ` unedebug-defun? David Vanderschel
2003-09-11 13:36 unedebug-defun? David Abrahams

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=GP6dnei6P5OIZPyiRTvUqQ@texas.net \
    --to=djv1@austin.rr.com \
    /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.