diff options
| author | Karl Heuer | 1995-06-06 19:21:15 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-06-06 19:21:15 +0000 |
| commit | bfe721d172158ccdcd925e55f5a658421ca0d4fe (patch) | |
| tree | 2d2882c335a04acb20662d2b5aa6dc2246a6f0aa /lispref/debugging.texi | |
| parent | 5c4276bc6de449d416cc83dd034892da66badcb7 (diff) | |
| download | emacs-bfe721d172158ccdcd925e55f5a658421ca0d4fe.tar.gz emacs-bfe721d172158ccdcd925e55f5a658421ca0d4fe.zip | |
*** empty log message ***
Diffstat (limited to 'lispref/debugging.texi')
| -rw-r--r-- | lispref/debugging.texi | 23 |
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 |
| 176 | on 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 |
| 218 | This function undoes the effect of @code{debug-on-entry} on | 218 | This 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 | ||
| 222 | If @code{cancel-debug-on-entry} is called more than once on the same | 223 | If @code{cancel-debug-on-entry} is called more than once on the same |
| 223 | function, the second call does nothing. @code{cancel-debug-on-entry} | 224 | function, 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 |
| 331 | Read a Lisp expression in the minibuffer, evaluate it, and print the | 332 | Read a Lisp expression in the minibuffer, evaluate it, and print the |
| 332 | value in the echo area. The debugger alters certain important variables | 333 | value in the echo area. The debugger alters certain important |
| 333 | as part of its operation; @kbd{e} temporarily restores their | 334 | variables, and the current buffer, as part of its operation; @kbd{e} |
| 334 | outside-the-debugger values so you can examine them. This makes the | 335 | temporarily restores their outside-the-debugger values so you can |
| 335 | debugger more transparent. By contrast, @kbd{M-@key{ESC}} does nothing | 336 | examine them. This makes the debugger more transparent. By contrast, |
| 336 | special in the debugger; it shows you the variable values within the | 337 | @kbd{M-:} does nothing special in the debugger; it shows you the |
| 337 | debugger. | 338 | variable values within the debugger. |
| 338 | 339 | ||
| 339 | @item q | 340 | @item q |
| 340 | Terminate the program being debugged; return to top-level Emacs | 341 | Terminate 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 | ||
| 377 | If the first of the @var{debugger-args} passed to @code{debug} is | 378 | If 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 |
| 379 | below), then @code{debug} displays the rest of its arguments at the the | 380 | below), then @code{debug} displays the rest of its arguments at the |
| 380 | top of the @samp{*Backtrace*} buffer. This mechanism is used to display | 381 | top of the @samp{*Backtrace*} buffer. This mechanism is used to display |
| 381 | a message to the user. | 382 | a 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 |
| 567 | This variable records the debugging status of current interactive | 568 | This variable records the debugging status of the current interactive |
| 568 | command. Each time a command is called interactively, this variable is | 569 | command. Each time a command is called interactively, this variable is |
| 569 | bound to @code{nil}. The debugger can set this variable to leave | 570 | bound to @code{nil}. The debugger can set this variable to leave |
| 570 | information for future debugger invocations during the same command. | 571 | information for future debugger invocations during the same command. |