comparison man/lispref/debugging.texi @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
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
104 @defopt debug-ignored-errors 98 @defopt debug-ignored-errors
105 This variable specifies certain kinds of errors that should not enter 99 This variable specifies certain kinds of errors that should not enter
106 the debugger. Its value is a list of error condition symbols and/or 100 the debugger. Its value is a list of error condition symbols and/or
107 regular expressions. If the error has any of those condition symbols, 101 regular expressions. If the error has any of those condition symbols,
108 or if the error message matches any of the regular expressions, then 102 or if the error message matches any of the regular expressions, then
127 121
128 @example 122 @example
129 (add-hook 'after-init-hook 123 (add-hook 'after-init-hook
130 '(lambda () (setq debug-on-error t))) 124 '(lambda () (setq debug-on-error t)))
131 @end example 125 @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