aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref/debugging.texi (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge from origin/emacs-25Paul Eggert2017-01-011-1/+1
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-311-1/+1
| | | | | | | | Run admin/update-copyright.
* | Move backtrace to ELisp using a new mapbacktrace primitiveClément Pit--Claudel2016-12-121-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/eval.c (get_backtrace_starting_at, backtrace_frame_apply) (Fmapbacktrace, Fbacktrace_frame_internal): New functions. (get_backtrace_frame, Fbacktrace_debug): Use `get_backtrace_starting_at'. * lisp/subr.el (backtrace--print-frame): New function. (backtrace): Reimplement using `backtrace--print-frame' and `mapbacktrace'. (backtrace-frame): Reimplement using `backtrace-frame--internal'. * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Pass a base to `mapbacktrace' instead of searching for "(debug" in the output of `backtrace'. * test/lisp/subr-tests.el (subr-test-backtrace-simple-tests) (subr-test-backtrace-integration-test): New tests. * doc/lispref/debugging.texi (Internals of Debugger): Document `mapbacktrace' and missing argument BASE of `backtrace-frame'.
* | Document watchpointsNoam Postavsky2016-12-021-0/+31
| | | | | | | | | | | | * doc/lispref/debugging.texi (Variable Debugging): * doc/lispref/variables.texi (Watching Variables): New section. * etc/NEWS: Add entry for watchpoints
* | Merge from origin/emacs-25Paul Eggert2016-10-231-0/+7
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50fa7d6 ;* src/w32heap.c: Fix typo and wording of the comments. 6f1325e electric-quote mode no longer worries about coding c2a1792 * src/regex.c (re_search_2): Make new code safe for -Wjump-mi... f6134bb Port to GCC 6.2.1 + --enable-gcc-warnings b2ba630 Explain how to debug emacsclient lisp errors 9da53e2 Let describe-function work for lambda again 5c2da93 Fix kill-line's docstring ad66b3f Fix handling of allocation in regex matching 5a26c9b * lisp/electric.el (electric-quote-mode): Improve doc (Bug#24... 3877c91 vc-region-history: Search just on lines intersecting the region 8988327 Fix documentation of 'alist-get' b6998ea * src/regex.h (re_match_object): Improve commentary. # Conflicts: # etc/NEWS # lisp/help-fns.el
| * Explain how to debug emacsclient lisp errorsNoam Postavsky2016-10-221-0/+7
| | | | | | | | | | | | * doc/lispref/debugging.texi (Error Debugging): Mention that debug-on-signal is useful for getting backtraces from emacsclient (Bug#24616).
* | Merge from origin/emacs-25Paul Eggert2016-10-101-0/+2
|\ \ | |/ | | | | | | | | | | 4b347fe Clarify that doc fixes are okay in feature freeze 01669ad Avoid crashes when setting the cursor f2144ee Restore 'command-debug-status' functionality ec6e4b9 ; Minor addition to CONTRIBUTE
| * Restore 'command-debug-status' functionalityPhilippe Vaucher2016-10-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | * src/callint.c (Fcall_interactively): Bind command-debug-status to nil. This restores functionality inadvertently removed in Emacs 25.1. (Bug#24555) * lisp/subr.el (command-debug-status): Declare obsolete. * doc/lispref/debugging.texi (Internals of Debugger): Document that 'command-debug-status' is obsolete.
* | New user option 'debugger-stack-frame-as-list'Vasilij Schneidermann2016-09-301-0/+31
|/ | | | | | | | | | | | | * src/eval.c (syms_of_eval) <debugger-stack-frame-as-list>: New variable. * lisp/cus-start.el (standard): Add debugger-stack-frame-as-list. * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Adjust backtrace processing for the value of debugger-stack-frame-as-list. * lisp/emacs-lisp/edebug.el (edebug-backtrace): Adjust backtrace processing for the value of debugger-stack-frame-as-list. * doc/lispref/debugging.texi (Internals of Debugger): Document debugger-stack-frame-as-list. * etc/NEWS: Mention 'debugger-stack-frame-as-list'.
* profiler: document prefix arg for tree expansionNoam Postavsky2016-07-281-2/+3
| | | | | | * doc/lispref/debugging.texi (Profiling): * lisp/profiler.el (profiler-report-toggle-entry): Document use of prefix argument to expand whole call trees.
* Some corrections in Elisp manualMartin Rudalics2016-02-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/buffers.texi (Read Only Buffers): Describe optional argument POSITION. * doc/lispref/debugging.texi (Error Debugging): `debug-on-signal' is an option. * doc/lispref/display.texi (Refresh Screen): Describe optional argument FRAME of `redraw-frame'. (Attribute Functions): Describe optional argument CHARACTER of `face-font'. (Defining Images): `image-load-path' is an option. (Beeping): `ring-bell-function' is an option. * doc/lispref/frames.texi (Size and Position): The PIXELWISE argument of `set-frame-size' is optional. (Raising and Lowering): The TERMINAL argument of `tty-top-frame' is optional. * doc/lispref/keymaps.texi (Controlling Active Maps): Fix doc of `set-transient-map'. * doc/lispref/minibuf.texi (Text from Minibuffer): `read-regexp-defaults-function' is an option. (Minibuffer Contents): `delete-minibuffer-contents' is a command. * doc/lispref/modes.texi (Mode Line Variables): `mode-line-position' and `mode-line-modes' are variables, not options. * doc/lispref/strings.texi (Creating Strings): The START argument of `substring' is optional. * doc/lispref/text.texi (Buffer Contents): Describe optional argument NO-PROPERTIES of `thing-at-point'. (User-Level Deletion): Both arguments of `delete-trailing-whitespace' are optional. (Margins): Use @key{RET} instead of @kbd{RET}. * doc/lispref/windows.texi (Display Action Functions): Write non-@code{nil} instead of non-nil. (Choosing Window Options): The WINDOW arg of `split-window-sensibly' is optional. (Choosing Window Options): Write non-@code{nil} instead of non-nil. (Window Start and End): Both args of `window-group-end' are optional. * src/buffer.c (Fbarf_if_buffer_read_only): Rename argument POS to POSITION to keep consisteny with doc-string.
* Update copyright year to 2016Paul Eggert2016-01-011-1/+1
| | | | Run admin/update-copyright.
* Quote less in manualsPaul Eggert2015-09-151-2/+2
| | | | | | | | | | The manuals often used quotes ``...'' when it is better to use @dfn or @code or capitalized words or no quoting at all. For example, there is no need for the `` and '' in “if a variable has one effect for @code{nil} values and another effect for ``non-@code{nil}'' values”. Reword the Emacs, Lisp intro, and Lisp reference manuals to eliminate unnecessary quoting like this, and to use @dfn etc. instead when called for (Bug#21472).
* * doc/lispref/debugging.texi (Profiling): Improve indexing.Eli Zaretskii2015-05-161-0/+1
| | | | (Bug#20576)
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Improve indexing on the chapter/section/subsection levels.Eli Zaretskii2014-12-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/lispref/windows.texi (Recombining Windows): Index subject of sections. doc/lispref/variables.texi (Variables with Restricted Values) (Generalized Variables): Index subject of sections. doc/lispref/text.texi (Buffer Contents, Examining Properties) (Changing Properties, Property Search, Substitution): Index subject of sections. doc/lispref/syntax.texi (Motion and Syntax, Parsing Expressions) (Motion via Parsing, Position Parse, Control Parsing): Index subject of sections. doc/lispref/strings.texi (Predicates for Strings, Creating Strings) (Modifying Strings, Text Comparison): Index subject of sections. doc/lispref/searching.texi (Syntax of Regexps, Regexp Special) (Regexp Functions, Regexp Functions): Index subject of sections. doc/lispref/processes.texi (Subprocess Creation, Process Information): Index subject of sections. doc/lispref/positions.texi (Screen Lines): Index subject of sections. doc/lispref/nonascii.texi (Scanning Charsets, Specifying Coding Systems): Index subject of sections. doc/lispref/minibuf.texi (Text from Minibuffer, Object from Minibuffer) (Multiple Queries, Minibuffer Contents): Index subject of sections. doc/lispref/markers.texi (Predicates on Markers, Creating Markers) (Information from Markers, Moving Markers): Index subject of sections. doc/lispref/macros.texi (Defining Macros, Problems with Macros): Index subject of sections. doc/lispref/loading.texi (Loading Non-ASCII, Where Defined): Index subject of sections. doc/lispref/lists.texi (List-related Predicates, List Variables, Setcar) (Setcdr, Plist Access): Index subject of sections. doc/lispref/keymaps.texi (Controlling Active Maps, Scanning Keymaps) (Modifying Menus): Index subject of sections. doc/lispref/help.texi (Accessing Documentation, Help Functions): Index subject of sections. doc/lispref/hash.texi (Hash Access): Index subject of sections. doc/lispref/functions.texi (Core Advising Primitives) (Advising Named Functions, Porting old advices): Index subject of sections. doc/lispref/frames.texi (Creating Frames, Initial Parameters) (Position Parameters, Buffer Parameters, Minibuffers and Frames) (Pop-Up Menus, Drag and Drop): Index subject of sections. doc/lispref/files.texi (Visiting Functions, Kinds of Files) (Unique File Names): Index subject of sections. doc/lispref/display.texi (Refresh Screen, Echo Area Customization) (Warning Variables, Warning Options, Delayed Warnings) (Temporary Displays, Managing Overlays, Overlay Properties) (Finding Overlays, Size of Displayed Text, Defining Faces) (Attribute Functions, Displaying Faces, Face Remapping) (Basic Faces, Font Lookup, Fontsets, Replacing Specs) (Defining Images, Showing Images): Index subject of sections. doc/lispref/debugging.texi (Debugging, Explicit Debug) (Invoking the Debugger, Excess Open, Excess Close): Index subject of sections. doc/lispref/customize.texi (Defining New Types, Applying Customizations) (Custom Themes): Index subject of sections. doc/lispref/control.texi (Sequencing, Combining Conditions) (Processing of Errors, Cleanups): Index subject of sections. doc/lispref/compile.texi (Eval During Compile): Index subject of sections. doc/lispref/commands.texi (Using Interactive, Distinguish Interactive) (Command Loop Info, Classifying Events, Event Mod) (Invoking the Input Method): Index subject of sections. doc/lispref/buffers.texi (Buffer List, Buffer Gap): Index subject of sections. doc/lispref/backups.texi (Making Backups, Numbered Backups, Backup Names) (Reverting): Index subject of sections. doc/lispref/abbrevs.texi (Abbrev Tables, Defining Abbrevs, Abbrev Files) (Abbrev Expansion, Standard Abbrev Tables, Abbrev Properties) (Abbrev Table Properties): Index subject of sections. doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing) (Time Calculations, Idle Timers): Index subject of sections.
* * doc/lispref/debugging.texi (Function Debugging, Debugger Commands):Stefan Monnier2014-07-081-17/+2
| | | | | | Update debug-on-entry w.r.t behavior after redefinitions. Fixes: debbugs:17902
* Small doc updates for debuggingGlenn Morris2014-02-131-3/+3
| | | | | | | | * doc/lispref/debugging.texi (Debugger Commands): Tiny edits. * lisp/jit-lock.el (jit-lock-mode): Doc fix. * etc/NEWS: Related edits.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Document `debugger-toggle-locals'.Xue Fuqiao2013-12-221-0/+5
| | | | * doc/lispref/debugging.texi (Debugger Commands): Document `debugger-toggle-locals'.
* Fix some doc/ cross-referencesGlenn Morris2013-07-021-1/+1
| | | | | | | | | | | | | * doc/lispintro/emacs-lisp-intro.texi (edebug): * doc/lispref/debugging.texi (Debugging): * doc/lispref/files.texi (File Attributes, Changing Files): * doc/misc/bovine.texi (top): * doc/misc/cc-mode.texi (AWK Mode Font Locking): * doc/misc/mh-e.texi (Preface): * doc/misc/url.texi (URI Parsing): Fix cross-references to other manuals. * doc/lispref/package.texi (Package Archives): Fix @url call.
* Update copyright notices for 2013.Paul Eggert2013-01-011-1/+2
|
* * doc/lispref/debugging.texi (Profiling): Make it more clearStefan Monnier2012-11-211-1/+1
| | | | that --enable-profiling is about profiling the C code.
* Add a bit more about profiling to the lisprefGlenn Morris2012-11-201-3/+16
| | | | | | * doc/lispref/debugging.texi (Profiling): Add some basic information about the profile report buffer. (Debugging): Mention profiling in the introduction.
* * doc/lispref/debugging.texi (Profiling) [!tex]: Mention --enable-profiling.Glenn Morris2012-11-201-0/+11
|
* Fix typos in previousGlenn Morris2012-11-201-2/+2
|
* Make a start on a Profiling section in the lisprefGlenn Morris2012-11-201-0/+40
| | | | | | * doc/lispref/debugging.texi (Profiling): New section, in progress. * doc/lispref/tips.texi (Compilation Tips): Move profiling to separate section. * doc/lispref/elisp.texi: Add Profiling to detailed menu.
* Document debugger-bury-or-killGlenn Morris2012-11-101-2/+7
| | | | | | | | * doc/lispref/debugging.texi (Using Debugger): Mention debugger-bury-or-kill. * lisp/emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak. * etc/NEWS: Related edit.
* * doc/lispref/debugging.texi (Error Debugging): Mention debug-on-message.Glenn Morris2012-11-101-0/+8
| | | | * etc/NEWS: Related markup.
* Document new error symbol and function user-errorGlenn Morris2012-11-101-6/+6
| | | | | | | | * doc/lispref/control.texi (Signaling Errors): * doc/lispref/debugging.texi (Error Debugging): * doc/lispref/errors.texi (Standard Errors): Add user-error. * etc/NEWS: Related markup.
* Merge from emacs-24; up to 2012-05-07T14:57:18Z!michael.albinus@gmx.deChong Yidong2012-09-211-1/+1
|\
| * * doc/lispref/debugging.texi (Using Debugger): Fix typo.Glenn Morris2012-09-111-1/+1
| |
* | Implement `debug-on-message'.Lars Ingebrigtsen2012-09-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | This allows tracking down what piece of code is outputting stuff in the echo area. * eval.c (call_debugger): Make the function non-static so that we can call it from set_message. * xdisp.c (set_message): Implement the new variable `debug-on-message'. (syms_of_xdisp): Defvar it and `inhibit-debug-on-message'.
* | Nuke hand-written node pointers in doc/lisprefGlenn Morris2012-05-261-1/+1
| | | | | | | | Let makeinfo figure them out, as is recommended.
* | Merge from emacs-24; up to 2012-04-24T08:35:02Z!lekktu@gmail.comGlenn Morris2012-05-261-2/+2
|\ \ | |/
| * Some minor fixes of Elisp manual.Martin Rudalics2012-05-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commands.texi (Recursive Editing): recursive-edit is a command. * compile.texi (Docs and Compilation): byte-compile-dynamic-docstrings is an option. * debugging.texi (Invoking the Debugger): debug is a command. * display.texi (Progress): progress-reporter-update and progress-reporter-force-update have VALUE argument optional. (Animated Images): Use non-@code{nil} instead of non-nil. * files.texi (Format Conversion Round-Trip): Use non-@code{nil} instead of non-nil. * frames.texi (Creating Frames): make-frame is a command. (Input Focus): select-frame is a command. (Pointer Shape): void-text-area-pointer is an option. * help.texi (Describing Characters): read-kbd-macro is a command. (Help Functions): describe-prefix-bindings is a command. * markers.texi (Creating Markers): Both arguments of copy-marker are optional. * minibuf.texi (Reading File Names): Use @kbd instead of @code. * modes.texi (Mode Line Variables): mode-line-remote and mode-line-client are not options. (Imenu): imenu-add-to-menubar is a command. (SMIE Indentation Helpers): Use non-@code{nil} instead of non-nil. * os.texi (Sound Output): play-sound-file is a command. * package.texi (Package Archives): Use @key{RET} instead of @kbd{RET}. * processes.texi (Signals to Processes): Use @key{RET} instead of @code{RET}. (Signals to Processes): signal-process is a command. * text.texi (Clickable Text): Use @key{RET} instead of @kbd{RET}. (Base 64): base64-encode-string is not a command while base64-decode-region is. * windows.texi (Switching Buffers): pop-to-buffer is a command.
* | Remove unnecessary @setfilename commands from many doc/lispref/*.texiGlenn Morris2012-04-131-1/+0
|/
* In doc/lispref, use @file for buffers, per the Texinfo manual.Glenn Morris2012-04-101-5/+5
| | | | It renders the same as @samp, so there is no visible change in most cases.
* * debugging.texi (Debugger Commands): Continuing is now allowed for errors.Chong Yidong2012-02-121-8/+4
|
* Update Debugging chapter of Lisp manual.Chong Yidong2012-02-111-112/+92
| | | | | | | | | | | | * doc/emacs/debugging.texi (Debugging): Copyedits. Describe testcover, ERT. (Error Debugging): Note that debug-ignored-errors overrides list values of debug-on-error too. Add xref to Signaling Errors. Note that debug-on-signal is not customizable. Mention condition-case-unless-debug. (Compilation Errors): Node deleted. * doc/emacs/compile.texi (Compiler Errors): Move a paragraph here from deleted node Compilation Errors.
* More doc for debug-on-event.Glenn Morris2012-02-041-2/+2
| | | | | | * emacs/trouble.texi (Checklist): Mention debug-on-event. * lispref/debugging.texi (Error Debugging): Mention debug-on-event default.
* Document debug-on-eventGlenn Morris2012-02-041-0/+9
| | | | | | * doc/lispref/debugging.texi (Error Debugging): Mention debug-on-event. * doc/lispref/commands.texi (Misc Events): Mention sigusr1,2 and debugging. * etc/NEWS: Related edit.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Document trash changes in manual.Chong Yidong2011-08-281-19/+0
| | | | | | | | | | * doc/emacs/dired.texi (Dired Deletion): Shorten description of Trash. * doc/emacs/files.texi (Misc File Ops): Document new delete-by-moving-to-trash behavior. * doc/lispref/files.texi (Changing Files, Create/Delete Dirs): Document TRASH argument.
* (Using Debugger): Mention @code{eval-expression-debug-on-error}Lars Magne Ingebrigtsen2011-07-151-0/+10
| | | | Fixes: debbugs:8549
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Nuke arch-tags.Glenn Morris2011-01-151-4/+0
|
* Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
|
* Untabify doc/lispref/*.texi.Glenn Morris2010-06-221-2/+2
| | | | | | | | | | * abbrevs.texi, commands.texi, compile.texi, debugging.texi: * display.texi, edebug.texi, elisp.texi, eval.texi, files.texi: * frames.texi, functions.texi, internals.texi, keymaps.texi: * loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi: * searching.texi, sequences.texi, strings.texi, syntax.texi: * text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi: Untabify Texinfo files.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|