aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/debugging.texi
diff options
context:
space:
mode:
Diffstat (limited to 'lispref/debugging.texi')
-rw-r--r--lispref/debugging.texi10
1 files changed, 9 insertions, 1 deletions
diff --git a/lispref/debugging.texi b/lispref/debugging.texi
index cce112a0aa0..a427e746b27 100644
--- a/lispref/debugging.texi
+++ b/lispref/debugging.texi
@@ -44,7 +44,7 @@ Afterward, you can examine the file to find out what input was used.
44 44
45@node Debugger 45@node Debugger
46@section The Lisp Debugger 46@section The Lisp Debugger
47@cindex debugger 47@cindex debugger for Emacs Lisp
48@cindex Lisp debugger 48@cindex Lisp debugger
49@cindex break 49@cindex break
50 50
@@ -675,6 +675,7 @@ If @var{frame-number} is out of range, @code{backtrace-frame} returns
675 675
676@node Syntax Errors 676@node Syntax Errors
677@section Debugging Invalid Lisp Syntax 677@section Debugging Invalid Lisp Syntax
678@cindex debugging invalid Lisp syntax
678 679
679 The Lisp reader reports invalid syntax, but cannot say where the real 680 The Lisp reader reports invalid syntax, but cannot say where the real
680problem is. For example, the error ``End of file during parsing'' in 681problem is. For example, the error ``End of file during parsing'' in
@@ -690,6 +691,8 @@ technique is to try @kbd{C-M-e} at the beginning of each defun, and see
690if it goes to the place where that defun appears to end. If it does 691if it goes to the place where that defun appears to end. If it does
691not, there is a problem in that defun. 692not, there is a problem in that defun.
692 693
694@cindex unbalanced parentheses
695@cindex parenthesis mismatch, debugging
693 However, unmatched parentheses are the most common syntax errors in 696 However, unmatched parentheses are the most common syntax errors in
694Lisp, and we can give further advice for those cases. (In addition, 697Lisp, and we can give further advice for those cases. (In addition,
695just moving point through the code with Show Paren mode enabled might 698just moving point through the code with Show Paren mode enabled might
@@ -796,8 +799,13 @@ Evaluate @var{form}, informing coverage testing that @var{form} should
796never return. If it ever does return, you get a run-time error. 799never return. If it ever does return, you get a run-time error.
797@end defmac 800@end defmac
798 801
802 Edebug also has a coverage testing feature (@pxref{Coverage
803Testing}). These features partly duplicate each other, and it would
804be cleaner to combine them.
805
799@node Compilation Errors 806@node Compilation Errors
800@section Debugging Problems in Compilation 807@section Debugging Problems in Compilation
808@cindex debugging byte compilation problems
801 809
802 When an error happens during byte compilation, it is normally due to 810 When an error happens during byte compilation, it is normally due to
803invalid syntax in the program you are compiling. The compiler prints a 811invalid syntax in the program you are compiling. The compiler prints a