;; LCD Archive Entry:
;; edebug|Daniel LaLiberte|liberte@cs.uiuc.edu
;; |A source level debugger for Emacs Lisp.
-;; |$Date: 1996/05/29 17:16:52 $|$Revision: 3.7 $|~/modes/edebug.el|
+;; |$Date: 1996/07/24 16:36:41 $|$Revision: 3.8 $|~/modes/edebug.el|
;; This file is part of GNU Emacs.
;;; Code:
(defconst edebug-version
- (let ((raw-version "$Revision: 3.7 $"))
+ (let ((raw-version "$Revision: 3.8 $"))
(substring raw-version (string-match "[0-9.]*" raw-version)
(match-end 0))))
(defvar edebug-outside-pre-command-hook)
(defvar edebug-outside-post-command-hook)
-(defvar edebug-outside-post-command-idle-hook)
-
-;; Emacs 19
-(defvar pre-command-hook nil)
-(defvar post-command-hook nil)
-(defvar post-command-idle-hook nil)
(defvar cl-lexical-debug) ;; Defined in cl.el
;; Save the outside value of executing macro. (here??)
(edebug-outside-executing-macro executing-kbd-macro)
(edebug-outside-pre-command-hook pre-command-hook)
- (edebug-outside-post-command-hook post-command-hook)
- (edebug-outside-post-command-idle-hook post-command-idle-hook))
+ (edebug-outside-post-command-hook post-command-hook))
(unwind-protect
(let (;; Don't keep reading from an executing kbd macro
;; within edebug unless edebug-continue-kbd-macro is
;; a hook function is instrumented - to avoid infinite loop.
;; This may be more than we need, however.
(pre-command-hook nil)
- (post-command-hook nil)
- (post-command-idle-hook nil))
+ (post-command-hook nil))
(setq edebug-execution-mode (or edebug-next-execution-mode
edebug-initial-mode
edebug-execution-mode)
(setq executing-kbd-macro edebug-outside-executing-macro
pre-command-hook edebug-outside-pre-command-hook
post-command-hook edebug-outside-post-command-hook
- post-command-idle-hook edebug-outside-post-command-idle-hook
)))
(let* ((edebug-data (get edebug-function 'edebug))
(defining-kbd-macro edebug-outside-defining-kbd-macro)
(pre-command-hook edebug-outside-pre-command-hook)
(post-command-hook edebug-outside-post-command-hook)
- (post-command-idle-hook edebug-outside-post-command-idle-hook)
;; See edebug-display
(overlay-arrow-position edebug-outside-o-a-p)
edebug-outside-defining-kbd-macro defining-kbd-macro
edebug-outside-pre-command-hook pre-command-hook
edebug-outside-post-command-hook post-command-hook
- edebug-outside-post-command-idle-hook post-command-idle-hook
edebug-outside-o-a-p overlay-arrow-position
edebug-outside-o-a-s overlay-arrow-string
(defun edebug-mark ()
(mark t));; Does this work for lemacs too?
- ;; Use minibuffer-history when reading expressions.
- (defvar read-expression-history) ;; hush bytecomp
- (defvar read-expression-map)
-
(defun edebug-set-conditional-breakpoint (arg condition)
"Set a conditional breakpoint at nearest sexp.
The condition is evaluated in the outside context.