unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* how to set debug-on-error permanently?
@ 2002-12-19 18:09 Ami Fischman
  2002-12-19 18:39 ` Alex Schroeder
  2002-12-20 17:12 ` Richard Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Ami Fischman @ 2002-12-19 18:09 UTC (permalink / raw)


Hi there,

While debugging elisp code, I frequently M-x toggle-debug-on-error before
running my code.  However, it seems that the debug-on-error flag gets
toggled back as soon as the first error happens.  This means I need to
toggle it before each run that follows an unsuccessful run.  Is there some
way to set the flag permanently in a session?

Cheers,
-- 
  Ami Fischman
  usenet@fischman.org

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

* Re: how to set debug-on-error permanently?
  2002-12-19 18:09 how to set debug-on-error permanently? Ami Fischman
@ 2002-12-19 18:39 ` Alex Schroeder
  2002-12-19 19:42   ` Ami Fischman
  2002-12-20 17:12 ` Richard Stallman
  1 sibling, 1 reply; 4+ messages in thread
From: Alex Schroeder @ 2002-12-19 18:39 UTC (permalink / raw)


Ami Fischman <usenet@fischman.org> writes:

> While debugging elisp code, I frequently M-x toggle-debug-on-error before
> running my code.  However, it seems that the debug-on-error flag gets
> toggled back as soon as the first error happens.  This means I need to
> toggle it before each run that follows an unsuccessful run.  Is there some
> way to set the flag permanently in a session?

I think you are running into something else: While debugging,
additional errors do not call the debugger anymore.  Solution:  Switch
to the *Backtrace* buffer and hit q.

Alex.

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

* Re: how to set debug-on-error permanently?
  2002-12-19 18:39 ` Alex Schroeder
@ 2002-12-19 19:42   ` Ami Fischman
  0 siblings, 0 replies; 4+ messages in thread
From: Ami Fischman @ 2002-12-19 19:42 UTC (permalink / raw)


> I think you are running into something else: While debugging,
> additional errors do not call the debugger anymore.  Solution:  Switch
> to the *Backtrace* buffer and hit q.

You hit the nail on the head.  Thanks :)

-- 
  Ami Fischman
  usenet@fischman.org

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

* Re: how to set debug-on-error permanently?
  2002-12-19 18:09 how to set debug-on-error permanently? Ami Fischman
  2002-12-19 18:39 ` Alex Schroeder
@ 2002-12-20 17:12 ` Richard Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2002-12-20 17:12 UTC (permalink / raw)
  Cc: emacs-devel

    While debugging elisp code, I frequently M-x toggle-debug-on-error before
    running my code.  However, it seems that the debug-on-error flag gets
    toggled back as soon as the first error happens.

This is not normal and I have not seen it myself.
Can you supply a precise test case?

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

end of thread, other threads:[~2002-12-20 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-19 18:09 how to set debug-on-error permanently? Ami Fischman
2002-12-19 18:39 ` Alex Schroeder
2002-12-19 19:42   ` Ami Fischman
2002-12-20 17:12 ` Richard Stallman

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