unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12500: 24.2.50; (search-failed "\n  debug(") in debugger
@ 2012-09-24  6:34 Helmut Eller
  2012-12-07  4:21 ` Stefan Monnier
  0 siblings, 1 reply; 6+ messages in thread
From: Helmut Eller @ 2012-09-24  6:34 UTC (permalink / raw)
  To: 12500

When stepping, the (search-forward "\n  debug(") in
debugger-setup-buffer sometimes fails.  To reproduce this 

1. eval this

  (progn
   (defun foo ()
     (debug nil 1)
     (debug nil 2))
   (setq toggle-debug-on-error t)
   (foo))

2. The debugger pops up with the message:
   Debugger entered: (1)
     foo()

3. At the line with foo(), press d (i.e. debugger-step-through).

4. Now the buffer starts with:
   Debugger entered--beginning evaluation of function call form:
   * (debug nil 2)

5. Now press c (i.e. debugger-continue) on the line with the *.

6. The debugger enters recursively with the error:
   Debugger entered--Lisp error: (search-failed "\n debug(")



In GNU Emacs 24.2.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2012-09-22 on ix
Bzr revision: 110128 cyd@gnu.org-20120922032937-yf6yua64ed45tzap
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Configured using:
 `configure '--with-jpeg=no' '--with-gif=no' '--with-tiff=no''






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

end of thread, other threads:[~2016-01-29 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-24  6:34 bug#12500: 24.2.50; (search-failed "\n debug(") in debugger Helmut Eller
2012-12-07  4:21 ` Stefan Monnier
2016-01-29 18:20   ` Marcin Borkowski
2016-01-29 18:37     ` Helmut Eller
2016-01-29 19:12       ` Marcin Borkowski
2016-01-29 19:10     ` Eli Zaretskii

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