aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/debugging.texi
diff options
context:
space:
mode:
authorKarl Heuer1995-06-06 19:21:15 +0000
committerKarl Heuer1995-06-06 19:21:15 +0000
commitbfe721d172158ccdcd925e55f5a658421ca0d4fe (patch)
tree2d2882c335a04acb20662d2b5aa6dc2246a6f0aa /lispref/debugging.texi
parent5c4276bc6de449d416cc83dd034892da66badcb7 (diff)
downloademacs-bfe721d172158ccdcd925e55f5a658421ca0d4fe.tar.gz
emacs-bfe721d172158ccdcd925e55f5a658421ca0d4fe.zip
*** empty log message ***
Diffstat (limited to 'lispref/debugging.texi')
-rw-r--r--lispref/debugging.texi23
1 files changed, 12 insertions, 11 deletions
diff --git a/lispref/debugging.texi b/lispref/debugging.texi
index 3fa300d02f9..6775323049d 100644
--- a/lispref/debugging.texi
+++ b/lispref/debugging.texi
@@ -172,8 +172,8 @@ for @var{function-name} in the minibuffer.
172 If the function is already set up to invoke the debugger on entry, 172 If the function is already set up to invoke the debugger on entry,
173@code{debug-on-entry} does nothing. 173@code{debug-on-entry} does nothing.
174 174
175 Caveat: if you redefine a function after using @code{debug-on-entry} 175 @strong{Note:} if you redefine a function after using
176on it, the code to enter the debugger is lost. 176@code{debug-on-entry} on it, the code to enter the debugger is lost.
177 177
178 @code{debug-on-entry} returns @var{function-name}. 178 @code{debug-on-entry} returns @var{function-name}.
179 179
@@ -217,7 +217,8 @@ Entering:
217@deffn Command cancel-debug-on-entry function-name 217@deffn Command cancel-debug-on-entry function-name
218This function undoes the effect of @code{debug-on-entry} on 218This function undoes the effect of @code{debug-on-entry} on
219@var{function-name}. When called interactively, it prompts for 219@var{function-name}. When called interactively, it prompts for
220@var{function-name} in the minibuffer. 220@var{function-name} in the minibuffer. If @var{function-name} is
221@code{nil} or the empty string, it cancels debugging for all functions.
221 222
222If @code{cancel-debug-on-entry} is called more than once on the same 223If @code{cancel-debug-on-entry} is called more than once on the same
223function, the second call does nothing. @code{cancel-debug-on-entry} 224function, the second call does nothing. @code{cancel-debug-on-entry}
@@ -329,12 +330,12 @@ cancels a @kbd{b} command on that frame.
329 330
330@item e 331@item e
331Read a Lisp expression in the minibuffer, evaluate it, and print the 332Read a Lisp expression in the minibuffer, evaluate it, and print the
332value in the echo area. The debugger alters certain important variables 333value in the echo area. The debugger alters certain important
333as part of its operation; @kbd{e} temporarily restores their 334variables, and the current buffer, as part of its operation; @kbd{e}
334outside-the-debugger values so you can examine them. This makes the 335temporarily restores their outside-the-debugger values so you can
335debugger more transparent. By contrast, @kbd{M-@key{ESC}} does nothing 336examine them. This makes the debugger more transparent. By contrast,
336special in the debugger; it shows you the variable values within the 337@kbd{M-:} does nothing special in the debugger; it shows you the
337debugger. 338variable values within the debugger.
338 339
339@item q 340@item q
340Terminate the program being debugged; return to top-level Emacs 341Terminate the program being debugged; return to top-level Emacs
@@ -376,7 +377,7 @@ whatever called @code{debug}. This is the only way the function
376 377
377If the first of the @var{debugger-args} passed to @code{debug} is 378If the first of the @var{debugger-args} passed to @code{debug} is
378@code{nil} (or if it is not one of the special values in the table 379@code{nil} (or if it is not one of the special values in the table
379below), then @code{debug} displays the rest of its arguments at the the 380below), then @code{debug} displays the rest of its arguments at the
380top of the @samp{*Backtrace*} buffer. This mechanism is used to display 381top of the @samp{*Backtrace*} buffer. This mechanism is used to display
381a message to the user. 382a message to the user.
382 383
@@ -564,7 +565,7 @@ This function is used only by the debugger.
564@end defun 565@end defun
565 566
566@defvar command-debug-status 567@defvar command-debug-status
567This variable records the debugging status of current interactive 568This variable records the debugging status of the current interactive
568command. Each time a command is called interactively, this variable is 569command. Each time a command is called interactively, this variable is
569bound to @code{nil}. The debugger can set this variable to leave 570bound to @code{nil}. The debugger can set this variable to leave
570information for future debugger invocations during the same command. 571information for future debugger invocations during the same command.