diff options
| author | jave | 2014-12-31 12:24:10 +0100 |
|---|---|---|
| committer | jave | 2014-12-31 12:24:10 +0100 |
| commit | baba9e039136e183e055169ddd7ca1e983fc734f (patch) | |
| tree | 9168fb077980351a25ea3a112f2abd105a11099a /doc/lispref/debugging.texi | |
| parent | 4105b6a93047045553e10795742a808b805c85b7 (diff) | |
| parent | 25346768fac53687c97c213fb99ff18fa805b073 (diff) | |
| download | emacs-baba9e039136e183e055169ddd7ca1e983fc734f.tar.gz emacs-baba9e039136e183e055169ddd7ca1e983fc734f.zip | |
merge upstream
Diffstat (limited to 'doc/lispref/debugging.texi')
| -rw-r--r-- | doc/lispref/debugging.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi index 66f12a022cb..0b3c47f4339 100644 --- a/doc/lispref/debugging.texi +++ b/doc/lispref/debugging.texi | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | @c See the file elisp.texi for copying conditions. | 5 | @c See the file elisp.texi for copying conditions. |
| 6 | @node Debugging | 6 | @node Debugging |
| 7 | @chapter Debugging Lisp Programs | 7 | @chapter Debugging Lisp Programs |
| 8 | @cindex debugging lisp programs | ||
| 8 | 9 | ||
| 9 | There are several ways to find and investigate problems in an Emacs | 10 | There are several ways to find and investigate problems in an Emacs |
| 10 | Lisp program. | 11 | Lisp program. |
| @@ -284,6 +285,8 @@ not currently set up to break on entry. | |||
| 284 | 285 | ||
| 285 | @node Explicit Debug | 286 | @node Explicit Debug |
| 286 | @subsection Explicit Entry to the Debugger | 287 | @subsection Explicit Entry to the Debugger |
| 288 | @cindex debugger, explicit entry | ||
| 289 | @cindex force entry to debugger | ||
| 287 | 290 | ||
| 288 | You can cause the debugger to be called at a certain point in your | 291 | You can cause the debugger to be called at a certain point in your |
| 289 | program by writing the expression @code{(debug)} at that point. To do | 292 | program by writing the expression @code{(debug)} at that point. To do |
| @@ -456,6 +459,7 @@ Toggle the display of local variables of the current stack frame. | |||
| 456 | 459 | ||
| 457 | @node Invoking the Debugger | 460 | @node Invoking the Debugger |
| 458 | @subsection Invoking the Debugger | 461 | @subsection Invoking the Debugger |
| 462 | @cindex invoking lisp debugger | ||
| 459 | 463 | ||
| 460 | Here we describe in full detail the function @code{debug} that is used | 464 | Here we describe in full detail the function @code{debug} that is used |
| 461 | to invoke the debugger. | 465 | to invoke the debugger. |
| @@ -707,6 +711,7 @@ find the mismatch.) | |||
| 707 | 711 | ||
| 708 | @node Excess Open | 712 | @node Excess Open |
| 709 | @subsection Excess Open Parentheses | 713 | @subsection Excess Open Parentheses |
| 714 | @cindex excess open parentheses | ||
| 710 | 715 | ||
| 711 | The first step is to find the defun that is unbalanced. If there is | 716 | The first step is to find the defun that is unbalanced. If there is |
| 712 | an excess open parenthesis, the way to do this is to go to the end of | 717 | an excess open parenthesis, the way to do this is to go to the end of |
| @@ -741,6 +746,7 @@ anything. | |||
| 741 | 746 | ||
| 742 | @node Excess Close | 747 | @node Excess Close |
| 743 | @subsection Excess Close Parentheses | 748 | @subsection Excess Close Parentheses |
| 749 | @cindex excess close parentheses | ||
| 744 | 750 | ||
| 745 | To deal with an excess close parenthesis, first go to the beginning | 751 | To deal with an excess close parenthesis, first go to the beginning |
| 746 | of the file, then type @kbd{C-u -1 C-M-u} to find the end of the first | 752 | of the file, then type @kbd{C-u -1 C-M-u} to find the end of the first |