| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
(debug): Use debugger-window if it is set and still alive.
Record debugger-window for next entry.
|
|
|
|
|
|
| |
(debug-convert-byte-code): Handle macros too.
(debug-on-entry-1): Don't signal an error when trying to clear a
function that is not set to debug on entry.
|
|
|
|
| |
Inspired by Deepak Goel <deego@gnufans.org>.
|
|
|
|
| |
of a line.
|
|
|
|
|
|
| |
that backtrace marks the frames set to debug-on-exit and we don't have
to do it manually. Set an extra debug-on-exit for macro's.
(debugger-setup-buffer): Don't mark the top frame manually.
|
|
|
|
|
|
|
|
|
|
| |
(implement-debug-on-entry): New function to replace debug-entry-code.
(debug-on-entry-1): Use implement-debug-on-entry. Delete the second
argument as the 2005-03-07 change makes it obsolete.
(debug-on-entry, cancel-debug-on-entry): Update call to
debug-on-entry-1.
(debug, debugger-setup-buffer): Comment update.
(debugger-frame-number): Update to work with implement-debug-on-entry.
|
|
|
|
|
| |
code is not possible.
(debugger-jumping-flag): Docstring update.
|
| |
|
|
|
|
| |
(debug-function-list): Ditto.
|
|
|
|
|
|
|
|
|
|
|
| |
(debugger-jumping-flag): New var.
(debug-entry-code): Use it.
(debugger-jump): Use debugger-jumping-flag and add debugger-reenable
to post-command-hook.
(debugger-reenable): Use debugger-jumping-flag and remove itself from
post-command-hook.
(debug, debug-on-entry, cancel-debug-on-entry): Remove call to
debugger-reenable.
|
|
|
|
|
|
|
| |
(debugger-setup-buffer): Delete one more frame line in case of debug
on entry.
(debugger-frame-number): Update to use the new text introduced by the
1999-11-03 change. Skip one more frame in case of debug on entry.
|
|
|
|
|
|
|
| |
be safely removed from a function while this code is being evaluated.
Revert the 2005-02-27 change as the new implementation no longer
requires it. Make sure that a function body containing just a string
is not mistaken for a docstring.
|
|
|
|
|
|
| |
(debug): Use it. Move the inhibit-trace earlier.
(debug-entry-code): New const.
(debug-on-entry-1): Use it.
|
| |
|
| |
|
|
|
|
|
|
| |
Remove unused and inexistent var `inhibit-trace'.
(debugger-mode): Use run-mode-hooks.
(debugger-list-functions): Add buttons; setup xref stack.
|
| |
|
| |
|
|
|
|
| |
binding unread-command-char.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
aliases to also work for interactive functions.
Use the same wrapper for subroutines.
(cancel-debug-on-entry): Get rid of the now-useless wrapper.
(debug-on-entry-1): Correctly skip docstrings and interactive forms.
|
| |
|
|
|
|
| |
(debugger-make-xrefs): Don't assume point-min == 1.
|
|
|
|
|
| |
(debugger-mode-map): Set the parent keymap to `button-buffer-map',
to get TAB and <backtab> bindings.
|
|
|
|
|
|
|
| |
(debugger-frame-number): Figure out the offset directly.
(debugger-setup-buffer): Don't use debugger-frame-offset.
(debugger-frame, debugger-frame-clear): Likewise.
(debugger-jump): Don't alter debugger-frame-offset.
|
| |
|
|
|
|
|
| |
insert indication of the buffer position.
(debugger-frame-number): Ignore ;;;-comment lines in backtrace.
|
|
|
|
| |
(debugger-make-xrefs): Only make a button for the first symbol on any line.
|
| |
|
|
|
|
|
|
| |
rather than regexp search and (2) copying text properties
already set up on text unchanged from the previous backtrace.
(debugger-previous-backtrace): New variable.
|
| |
|
| |
|
|
|
|
| |
debugger-may-continue is nil.
|
|
|
|
|
|
|
| |
Use the new backquote syntax.
* emacs-lisp/easymenu.el (easy-menu-make-symbol):
Use the new backquote syntax.
|
|
|
|
|
|
|
|
| |
backtrace using `message', then exit Emacs.
(debugger-batch-max-lines): New variable.
(debugger-setup-buffer): New subroutine, broken out of `debug'.
Change the messages put at the start, to say that the debugger
was entered.
|
|
|
|
|
|
| |
(debug): Bind and use debugger-outer-inhibit-redisplay.
Bind inhibit-redisplay to nil.
(debugger-env-macro): Treat inhibit-redisplay like other outside vars.
|
| |
|
|
|
|
| |
if it was enabled before.
|
|
|
|
|
|
| |
(debug): Bind debugger-outer-unread-post-input-method-events.
Bind unread-post-input-method-events to nil.
(debugger-env-macro): Likewise.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(debug): Use set-buffer-multibyte to clear enable-multibyte-characters.
|
|
|
|
| |
replace it with an equivalent lambda.
|
|
|
|
|
|
|
|
|
| |
(debugger-env-macro): New general purpose macro for all debugger
functions; separated from `debugger-eval-expression'.
(debugger-eval-expression): Use `debugger-env-macro'.
(debugger-record-buffer): New variable.
(debugger-record-expression): New user function , key "R".
(debugger-mode): Now runs hook `debugger-mode-hook'.
|