Commit graph

59 commits

Author SHA1 Message Date
Richard M. Stallman
c82fbd0cfa Comment change. 2002-07-29 02:09:19 +00:00
Richard M. Stallman
e734f58457 (debug): If redisplaying, just return. 2002-07-29 01:49:45 +00:00
Stefan Monnier
7473b6ad84 (debug-on-entry): Fix the wrapper used for
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.
2002-07-07 20:25:23 +00:00
Stefan Monnier
cafbc9a576 (cancel-debug-on-entry): Don't cons uselessly. 2002-06-18 21:53:30 +00:00
Stefan Monnier
6836bb6931 (debug-on-entry): Use push.
(debugger-make-xrefs): Don't assume point-min == 1.
2002-04-12 03:19:09 +00:00
Miles Bader
bb9a622e93 Require `button'.
(debugger-mode-map): Set the parent keymap to `button-buffer-map',
to get TAB and <backtab> bindings.
2002-03-14 09:02:36 +00:00
Richard M. Stallman
27bde5f0d3 (debugger-frame-offset): Var deleted.
(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.
2002-02-06 15:36:41 +00:00
Richard M. Stallman
fa5b1b57fe (debugger-frame-clear, debugger-frame): Error on non-frame line. 2002-02-01 04:24:22 +00:00
Richard M. Stallman
65fe45f2ea (debugger-setup-buffer): When an eval-buffer frame was reading from a buffer,
insert indication of the buffer position.
(debugger-frame-number): Ignore ;;;-comment lines in backtrace.
2002-02-01 04:21:38 +00:00
Richard M. Stallman
f27b0335d1 (debugger-mode-map): Bind C-m, not `RET'.
(debugger-make-xrefs): Only make a button for the first symbol on any line.
2001-12-25 08:14:45 +00:00
Richard M. Stallman
cf715fcf10 Fix previous change. 2001-12-16 17:57:16 +00:00
Richard M. Stallman
25c58854c7 (debugger-make-xrefs): Optimize by (1) using skip-syntax-forward
rather than regexp search and (2) copying text properties
already set up on text unchanged from the previous backtrace.
(debugger-previous-backtrace): New variable.
2001-12-16 03:48:41 +00:00
Sam Steingold
34decfdb95 (debugger-make-xrefs): Add buttons to all symbols. 2001-11-09 17:07:24 +00:00
Sam Steingold
cc1bde62e7 easy source access from the *debugger* buffer 2001-10-31 19:32:26 +00:00
Gerd Moellmann
094e092801 (debugger-continue): Don't continue If
debugger-may-continue is nil.
1999-12-19 13:12:28 +00:00
Sam Steingold
6c2599ed01 * emacs-lisp/debug.el (debugger-env-macro):
Use the new backquote syntax.

* emacs-lisp/easymenu.el (easy-menu-make-symbol):
Use the new backquote syntax.
1999-11-12 18:19:39 +00:00
Gerd Moellmann
63ca439e7f (debug): If noninteractive, display the
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.
1999-11-03 13:43:19 +00:00
Richard M. Stallman
bf90c2c0ad (debugger-outer-inhibit-redisplay): New variable.
(debug): Bind and use debugger-outer-inhibit-redisplay.
Bind inhibit-redisplay to nil.
(debugger-env-macro): Treat inhibit-redisplay like other outside vars.
1999-05-18 04:20:59 +00:00
Andreas Schwab
cb3fb87285 (debug): Make *Backtrace* buffer writable. 1999-03-27 02:33:08 +00:00
Andreas Schwab
f0ee23367c (debug): Leave recursive minibuffer enabled
if it was enabled before.
1999-01-04 11:53:22 +00:00
Kenichi Handa
0359db8251 (debugger-outer-unread-post-input-method-events): New variable.
(debug): Bind debugger-outer-unread-post-input-method-events.
Bind unread-post-input-method-events to nil.
(debugger-env-macro): Likewise.
1998-08-06 05:38:11 +00:00
Richard M. Stallman
c519f68fa9 (debugger-frame-clear): Doc fix. 1998-05-17 22:02:49 +00:00
Dan Nicolaescu
cd32a7baa4 *** empty log message *** 1998-04-20 02:34:53 +00:00
Stephen Eglen
666b94132b Customized. 1998-04-05 18:26:32 +00:00
Richard M. Stallman
17b3e87b83 (debug, debugger-env-macro): store-match-data => set-match-data. 1998-03-14 04:49:03 +00:00
Richard M. Stallman
06f7f0a00e (debugger-mode): Don't set enable-multibyte-characters here.
(debug): Use set-buffer-multibyte to clear enable-multibyte-characters.
1998-02-11 07:11:50 +00:00
Karl Heuer
f9e899b67e (debug-on-entry): If definition is a symbol,
replace it with an equivalent lambda.
1997-12-04 04:46:09 +00:00
Karl Heuer
8c1cd093df (debugger-mode-hook): New user variable.
(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'.
1997-12-04 04:42:31 +00:00
Richard M. Stallman
c7387861c7 (debug): Allow recursive minibuffers if we're in a minibuffer already. 1997-09-12 20:57:17 +00:00
Richard M. Stallman
896546cd9b Add provide call. 1997-06-22 18:57:55 +00:00
Richard M. Stallman
9d07cf38e7 (debug): Set overriding-terminal-local-map to nil,
don't bind it, so it won't be restored on `q'.
1997-06-09 16:42:34 +00:00
Richard M. Stallman
29e2b496f0 (debug, debugger-eval-expression):
Treat overriding-terminal-local-map like overriding-local-map.
(debugger-outer-overriding-terminal-local-map): New variable.
1997-06-08 12:25:25 +00:00
Richard M. Stallman
614710af5b (debug): Use save-excursion inside the binding of buffer-read-only. 1997-03-30 07:05:14 +00:00
Karl Heuer
9a06295dcf (debugger-mode): Disable multibyte character handling
in Debugger mode.
1997-02-20 05:41:01 +00:00
Karl Heuer
efcf38c7c2 Use executing-kbd-macro, not executing-macro. 1996-05-29 17:17:34 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
3aa2f02ea1 (debug): Fix message spelling. 1996-01-04 23:16:33 +00:00
Richard M. Stallman
73e78cf15e (debug): Now interactive. 1995-03-20 05:09:18 +00:00
Richard M. Stallman
80ddb8edf4 (debugger-outer-load-read-function): New variable.
(debug): Bind load-read-function to nil; save old value
in debugger-outer-load-read-function and restore at end.
(debugger-eval-expression): Handle load-read-function
like other magic variables.

(debugger-outer-overriding-local-map): New variable.
(debug): Bind overriding-local-map to nil; save old value
in debugger-outer-overriding-local-map and restore at end.
(debugger-eval-expression): Handle overriding-local-map
like other magic variables.
1995-03-18 18:13:23 +00:00
Richard M. Stallman
2eeeb0d2a0 (debugger-step-after-exit): Variable declared.
(debugger-old-buffer, debugger-value): Variables declared.
1995-02-13 17:55:17 +00:00
Richard M. Stallman
f4249c6f78 (debug): Fix arg to backtrace-debug for debug-on-entry. 1995-02-13 08:47:59 +00:00
Richard M. Stallman
c8c76dd33f (debug-convert-byte-code): Convert the doc info to a string. 1995-01-27 22:38:19 +00:00
Karl Heuer
89961ff8c9 (debugger-list-functions): Set help-mode in *Help* buffer. 1994-11-09 05:50:58 +00:00
Karl Heuer
cf1c8cd91d (debug, debugger-eval-expression): Preserve match-data. 1994-04-16 07:18:26 +00:00
Karl Heuer
36363ac158 (debug): Behave sensibly if pop-up-frames is set. 1994-03-29 02:20:04 +00:00
Richard M. Stallman
8782c06b52 (debugger-eval-expression): Use a history list. 1994-03-22 20:41:00 +00:00
Richard M. Stallman
2512acba30 (debug, debug-on-entry): Doc strings. 1994-02-23 23:17:34 +00:00
Richard M. Stallman
b2ecc630a3 (debug): Bind unread-command-char to -1, not nil. 1994-01-14 18:19:13 +00:00
Roland McGrath
1476977314 (debug): Fixed typo. 1994-01-09 23:22:30 +00:00
Richard M. Stallman
35cf010db6 (debug): Bind a bunch of vars, like last-command, to
neutral values.  Save the outer values in debugger-last-command, etc.
Put those saved values back into effect when returning.
(debugger-eval-expression): Put the saved values into effect
while evaluating, and store modified values back into
debugger-outer-... after evaluating.
1994-01-09 23:11:56 +00:00