unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19611: 25.0.50; Edebug eval expression broken
@ 2015-01-15 20:19 stephen_leake
  2015-02-10  8:06 ` bug#19611: also broken on Debian stable Stephen Leake
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: stephen_leake @ 2015-01-15 20:19 UTC (permalink / raw)
  To: 19611

When using edebug to debug an elisp function, 'e'
(edebug-eval-expression) does not eval the expression in the execution
environment.

First, create a file "~/debug-edebug.el" containing:

(defun sal-debug ()
  (interactive)
  (with-current-buffer (get-buffer-create "sal buffer")
    (message "current-buffer: %s" (current-buffer))))

Then, starting from emacs -Q:

(find-file "~/debug-edebug.el")

;; place cursor in function body
C-u C-M-x
M-x sal-debug

;; step until inside the "with-current-buffer"

e (current-buffer)

-> <buffer #debug-edebug.el> WRONG! should be <buffer sal buffer>




In GNU Emacs 25.0.50.4 (x86_64-w64-mingw32)
 of 2015-01-13 on TAKVER
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure PKG_CONFIG_PATH=/mingw64/lib/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: cp1252

Major mode: Emacs-Lisp

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent messages:
Back to top level
#<buffer debug-edebug.el>

Breakpoint set in sal-debug
Go...
Break
Result: #<buffer sal buffer>

#<buffer debug-edebug.el>
Back to top level

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message dired format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils edebug cl-loaddefs cl-lib
help-mode easymenu debug time-date tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table
w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process w32notify w32
multi-tty emacs)

Memory information:
((conses 16 84186 8149)
 (symbols 56 18754 0)
 (miscs 48 52 158)
 (strings 32 15111 4481)
 (string-bytes 1 398625)
 (vectors 16 10307)
 (vector-slots 8 387648 8937)
 (floats 8 65 125)
 (intervals 56 241 30)
 (buffers 976 15))





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-02-26 14:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-15 20:19 bug#19611: 25.0.50; Edebug eval expression broken stephen_leake
2015-02-10  8:06 ` bug#19611: also broken on Debian stable Stephen Leake
2015-02-15 15:40 ` bug#19611: 25.0.50; Edebug eval expression broken Andreas Politz
2015-02-24 18:07 ` Dmitry Gutov
2015-02-25  4:56   ` Stefan Monnier
2015-02-25  6:03     ` Stefan Monnier
2015-02-25 11:47     ` Dmitry Gutov
2015-02-26 14:11       ` Stephen Leake

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).