Mercurial > hg > xemacs-beta
comparison man/lispref/debugging.texi @ 438:84b14dcb0985 r21-2-27
Import from CVS: tag r21-2-27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:32:25 +0200 |
parents | 3ecd8885ac67 |
children | 576fb035e263 |
comparison
equal
deleted
inserted
replaced
437:e2a4e8b94b82 | 438:84b14dcb0985 |
---|---|
93 When this variable is non-@code{nil}, Emacs does not catch errors that | 93 When this variable is non-@code{nil}, Emacs does not catch errors that |
94 happen in process filter functions and sentinels. Therefore, these | 94 happen in process filter functions and sentinels. Therefore, these |
95 errors also can invoke the debugger. @xref{Processes}. | 95 errors also can invoke the debugger. @xref{Processes}. |
96 @end defopt | 96 @end defopt |
97 | 97 |
98 @defopt debug-on-signal | |
99 This variable is similar to @code{debug-on-error} but breaks | |
100 whenever an error is signalled, regardless of whether it would be | |
101 handled. | |
102 @end defopt | |
103 | |
98 @defopt debug-ignored-errors | 104 @defopt debug-ignored-errors |
99 This variable specifies certain kinds of errors that should not enter | 105 This variable specifies certain kinds of errors that should not enter |
100 the debugger. Its value is a list of error condition symbols and/or | 106 the debugger. Its value is a list of error condition symbols and/or |
101 regular expressions. If the error has any of those condition symbols, | 107 regular expressions. If the error has any of those condition symbols, |
102 or if the error message matches any of the regular expressions, then | 108 or if the error message matches any of the regular expressions, then |
121 | 127 |
122 @example | 128 @example |
123 (add-hook 'after-init-hook | 129 (add-hook 'after-init-hook |
124 '(lambda () (setq debug-on-error t))) | 130 '(lambda () (setq debug-on-error t))) |
125 @end example | 131 @end example |
126 | |
127 @defopt debug-on-signal | |
128 This variable is similar to @code{debug-on-error} but breaks | |
129 whenever an error is signalled, regardless of whether it would be | |
130 handled. | |
131 @end defopt | |
132 | 132 |
133 @node Infinite Loops | 133 @node Infinite Loops |
134 @subsection Debugging Infinite Loops | 134 @subsection Debugging Infinite Loops |
135 @cindex infinite loops | 135 @cindex infinite loops |
136 @cindex loops, infinite | 136 @cindex loops, infinite |