Function: edebug-on-entry

edebug-on-entry is an interactive and byte-compiled function defined in edebug.el.gz.

Signature

(edebug-on-entry FUNCTION &optional FLAG)

Documentation

Cause Edebug to stop when FUNCTION is called.

FUNCTION needs to be edebug-instrumented for this to work; if FUNCTION isn't, this function has no effect.

With prefix argument, make this temporary so it is automatically canceled the first time the function is entered.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/edebug.el.gz
(defun edebug-on-entry (function &optional flag)
  "Cause Edebug to stop when FUNCTION is called.

FUNCTION needs to be edebug-instrumented for this to work; if
FUNCTION isn't, this function has no effect.

With prefix argument, make this temporary so it is automatically
canceled the first time the function is entered."
  (interactive "aEdebug on entry to: \nP")
  ;; Could store this in the edebug data instead.
  (put function 'edebug-on-entry (if flag 'temp t)))