unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* debugging.texi
@ 2005-06-09 22:36 Luc Teirlinck
  2005-06-10 13:30 ` debugging.texi Richard Stallman
  0 siblings, 1 reply; 13+ messages in thread
From: Luc Teirlinck @ 2005-06-09 22:36 UTC (permalink / raw)


I propose the following changes to debugging.texi.  The current doc of
eval-expression-debug-on-error gives the impression that the
default value is nil, whereas it is t.

I can install if desired.

===File ~/debugging.texi-diff===============================
*** debugging.texi	05 Mar 2005 12:12:17 -0600	1.29
--- debugging.texi	09 Jun 2005 16:49:10 -0500	
***************
*** 118,125 ****
  @end defopt
  
  @defopt eval-expression-debug-on-error
! If you set this variable to a non-@code{nil} value, then
! @code{debug-on-error} will be set to @code{t} when evaluating with the
  command @code{eval-expression}.  If
  @code{eval-expression-debug-on-error} is @code{nil}, then the value of
  @code{debug-on-error} is not changed.  @xref{Lisp Eval,, Evaluating
--- 118,125 ----
  @end defopt
  
  @defopt eval-expression-debug-on-error
! If this variable has a non-@code{nil} value, then
! @code{debug-on-error} is set to @code{t} when evaluating with the
  command @code{eval-expression}.  If
  @code{eval-expression-debug-on-error} is @code{nil}, then the value of
  @code{debug-on-error} is not changed.  @xref{Lisp Eval,, Evaluating
***************
*** 267,277 ****
  @end example
  @end deffn
  
! @deffn Command cancel-debug-on-entry function-name
  This function undoes the effect of @code{debug-on-entry} on
  @var{function-name}.  When called interactively, it prompts for
  @var{function-name} in the minibuffer.  If @var{function-name} is
! @code{nil} or the empty string, it cancels break-on-entry for all
  functions.
  
  Calling @code{cancel-debug-on-entry} does nothing to a function which is
--- 267,277 ----
  @end example
  @end deffn
  
! @deffn Command cancel-debug-on-entry &optional function-name
  This function undoes the effect of @code{debug-on-entry} on
  @var{function-name}.  When called interactively, it prompts for
  @var{function-name} in the minibuffer.  If @var{function-name} is
! omitted, @code{nil} or the empty string, it cancels break-on-entry for all
  functions.
  
  Calling @code{cancel-debug-on-entry} does nothing to a function which is
============================================================

^ permalink raw reply	[flat|nested] 13+ messages in thread
* debugging.texi
@ 2005-06-15 18:50 Luc Teirlinck
  2005-06-15 22:36 ` debugging.texi Lute Kamstra
  0 siblings, 1 reply; 13+ messages in thread
From: Luc Teirlinck @ 2005-06-15 18:50 UTC (permalink / raw)


What about the following additional change to debugging.texi?  It may
not be that surprising that if you can not step through a
byte-compiled function, you can not step through a primitive function
either, but it may not hurt to explicitly mention it.

I can install if desired.

===File ~/debugging.texi-diff===============================
*** debugging.texi	14 Jun 2005 08:19:54 -0500	1.32
--- debugging.texi	15 Jun 2005 13:33:13 -0500	
***************
*** 350,356 ****
  byte-compiled function.  If you would like to step through a
  byte-compiled function, replace it with an interpreted definition of
  the same function.  (To do this, visit the source for the function and
! type @kbd{C-M-x} on its definition.)
  
    Here is a list of Debugger mode commands:
  
--- 350,357 ----
  byte-compiled function.  If you would like to step through a
  byte-compiled function, replace it with an interpreted definition of
  the same function.  (To do this, visit the source for the function and
! type @kbd{C-M-x} on its definition.)  There is no way to step through
! a primitive function.
  
    Here is a list of Debugger mode commands:
  
============================================================

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

end of thread, other threads:[~2005-06-16  8:54 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-09 22:36 debugging.texi Luc Teirlinck
2005-06-10 13:30 ` debugging.texi Richard Stallman
2005-06-11  3:30   ` debugging.texi Luc Teirlinck
2005-06-11  7:30     ` debugging.texi Lute Kamstra
2005-06-11 23:16       ` debugging.texi Richard Stallman
2005-06-11 23:16     ` debugging.texi Richard Stallman
2005-06-12  1:26       ` debugging.texi Luc Teirlinck
2005-06-12  8:19         ` debugging.texi Lute Kamstra
2005-06-11 12:18   ` debugging.texi Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2005-06-15 18:50 debugging.texi Luc Teirlinck
2005-06-15 22:36 ` debugging.texi Lute Kamstra
2005-06-15 23:31   ` debugging.texi Luc Teirlinck
2005-06-16  8:54     ` debugging.texi Lute Kamstra

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