aboutsummaryrefslogtreecommitdiffstats
path: root/lispref/debugging.texi
diff options
context:
space:
mode:
authorKaroly Lorentey2007-04-22 12:42:47 +0000
committerKaroly Lorentey2007-04-22 12:42:47 +0000
commit9d0799072a0d09bc14a99eaf372b262d1ba61399 (patch)
tree76acd4ae0559776a5ec27fbd5c25598285ec71d1 /lispref/debugging.texi
parente18c709364b095ea0be8ecabe458ac9a642a252f (diff)
parenta20becf321f023c6dc1831595712576d64e2ef4b (diff)
downloademacs-9d0799072a0d09bc14a99eaf372b262d1ba61399.tar.gz
emacs-9d0799072a0d09bc14a99eaf372b262d1ba61399.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-674 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-675 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-676 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-677 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-678 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-679 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-680 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-681 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-682 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-683 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-684 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-685 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-686 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-687 Release ERC 5.2. * emacs@sv.gnu.org/emacs--devo--0--patch-688 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-689 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-690 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-691 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-692 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-693 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-694 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-695 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-696 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-697 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-698 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-699 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-700 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-701 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-209 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-210 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-211 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-212 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-213 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-214 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-215 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-601
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