all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lute Kamstra <Lute.Kamstra.lists@xs4all.nl>
Subject: Re: stack-trace-on-error vs. debug-on-error.
Date: Fri, 04 Mar 2005 12:09:29 +0100	[thread overview]
Message-ID: <873bvby8eu.fsf@xs4all.nl> (raw)
In-Reply-To: <87acpjloam.fsf@xs4all.nl> (Lute Kamstra's message of "Fri, 04 Mar 2005 11:04:49 +0100")

Lute Kamstra <Lute.Kamstra.lists@xs4all.nl> writes:

> I'll document it in the Lisp manual.

Here it is:

*** lispref/debugging.texi      3 Mar 2005 16:28:32 -0000       1.27
--- lispref/debugging.texi      4 Mar 2005 11:02:19 -0000
***************
*** 166,171 ****
--- 166,185 ----
            (lambda () (setq debug-on-error t)))
  @end example
  
+ When the debugger is entered, it shows a backtrace (@pxref{Using
+ Debugger}).  If you like to see the backtrace when an error happens,
+ but you do not want to enter the debugger, you can set the variable
+ @code{stack-trace-on-error} to non-@code{nil}.
+ 
+ @defopt stack-trace-on-error
+ This variable determines whether a backtrace buffer is shown when an
+ error is signalled and not handled.  If @code{stack-trace-on-error} is
+ @code{t}, all kinds of errors display a backtrace; if it is
+ @code{nil}, none do.  If the value is a list, an error only means to
+ display a backtrace if one of its condition symbols appears in the
+ list.
+ @end defopt
+ 
  @node Infinite Loops
  @subsection Debugging Infinite Loops
  @cindex infinite loops

  reply	other threads:[~2005-03-04 11:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-04  9:40 stack-trace-on-error vs. debug-on-error Lute Kamstra
2005-03-04 10:04 ` Lute Kamstra
2005-03-04 11:09   ` Lute Kamstra [this message]
2005-03-05 16:59   ` Richard Stallman
2005-03-07  1:42     ` Chris Smith
  -- strict thread matches above, loose matches on Subject: below --
2005-03-04 13:47 drkm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873bvby8eu.fsf@xs4all.nl \
    --to=lute.kamstra.lists@xs4all.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.