/[emacs]/emacs/lispref/edebug.texi
ViewVC logotype

Diff of /emacs/lispref/edebug.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32 by teirllm, Thu Jun 16 20:30:12 2005 UTC revision 1.33 by rms, Sat Jun 18 13:45:14 2005 UTC
# Line 330  program to stop. Line 330  program to stop.
330  Proceed to the stop point near where point is (@code{edebug-goto-here}).  Proceed to the stop point near where point is (@code{edebug-goto-here}).
331    
332  @item f  @item f
333  Run the program forward over one expression  Run the program for one expression
334  (@code{edebug-forward-sexp}).  (@code{edebug-forward-sexp}).
335    
336  @item o  @item o
# Line 462  point (@code{edebug-unset-breakpoint}). Line 462  point (@code{edebug-unset-breakpoint}).
462    
463  @item x @var{condition} @key{RET}  @item x @var{condition} @key{RET}
464  Set a conditional breakpoint which stops the program only if  Set a conditional breakpoint which stops the program only if
465  @var{condition} evaluates to a non-@code{nil} value  evaluating @var{condition} produces a non-@code{nil} value
466  (@code{edebug-set-conditional-breakpoint}).  With a prefix argument, the  (@code{edebug-set-conditional-breakpoint}).  With a prefix argument,
467  breakpoint is temporary.  the breakpoint is temporary.
468    
469  @item B  @item B
470  Move point to the next breakpoint in the current definition  Move point to the next breakpoint in the current definition
# Line 585  effect outside of Edebug. Line 585  effect outside of Edebug.
585    
586  @table @kbd  @table @kbd
587  @item v  @item v
588  View the outside window configuration (@code{edebug-view-outside}).  Switch to viewing the outside window configuration
589  Type @kbd{C-x X w} to return to Edebug.  (@code{edebug-view-outside}).  Type @kbd{C-x X w} to return to Edebug.
590    
591  @item p  @item p
592  Temporarily display the outside current buffer with point at its  Temporarily display the outside current buffer with point at its
# Line 1035  saves (and later restores) these additio Line 1035  saves (and later restores) these additio
1035  The current match data.  @xref{Match Data}.  The current match data.  @xref{Match Data}.
1036    
1037  @item  @item
1038  @code{last-command}, @code{this-command}, @code{last-command-char},  The variables @code{last-command}, @code{this-command},
1039  @code{last-input-char}, @code{last-input-event},  @code{last-command-char}, @code{last-input-char},
1040  @code{last-command-event}, @code{last-event-frame},  @code{last-input-event}, @code{last-command-event},
1041  @code{last-nonmenu-event}, and @code{track-mouse}.  Commands used within  @code{last-event-frame}, @code{last-nonmenu-event}, and
1042  Edebug do not affect these variables outside of Edebug.  @code{track-mouse}.  Commands used within Edebug do not affect these
1043    variables outside of Edebug.
1044    
1045  The key sequence returned by @code{this-command-keys} is changed by  The key sequence returned by @code{this-command-keys} is changed by
1046  executing commands within Edebug and there is no way to reset  executing commands within Edebug and there is no way to reset
# Line 1099  macro.  To do this, add a @code{debug} d Line 1100  macro.  To do this, add a @code{debug} d
1100  definition.  Here is a simple example that shows the specification for  definition.  Here is a simple example that shows the specification for
1101  the @code{for} example macro (@pxref{Argument Evaluation}).  the @code{for} example macro (@pxref{Argument Evaluation}).
1102    
1103  @example  @smallexample
1104  (defmacro for (var from init to final do &rest body)  (defmacro for (var from init to final do &rest body)
1105    "Execute a simple \"for\" loop.    "Execute a simple \"for\" loop.
1106  For example, (for i from 1 to 10 do (print i))."  For example, (for i from 1 to 10 do (print i))."
1107    (declare (debug (symbolp "from" form "to" form "do" &rest form)))    (declare (debug (symbolp "from" form "to" form "do" &rest form)))
1108    ...)    ...)
1109  @end example  @end smallexample
1110    
1111    The Edebug specification says which parts of a call to the macro are    The Edebug specification says which parts of a call to the macro are
1112  forms to be evaluated.  For simple macros, the @var{specification}  forms to be evaluated.  For simple macros, the @var{specification}

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26