[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Watchpoints for emacs lisp.
From: |
Stefan Monnier |
Subject: |
Re: Watchpoints for emacs lisp. |
Date: |
Tue, 10 Aug 2010 13:00:24 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> I have a little misunderstanding.
> How can I call the debugger from the C code ?
> How can I find out whether I should call the edebug or simply the old
> debugger (debug) ?
C code cannot call Edebug since Edebug only applies to Lisp code.
As for calling `debug' there are various ways to do that, one of them is
to call the function stored in the variable `debugger', i.e.
val = apply1 (Vdebugger, arg);
but it's usually not needed/desired (most of the time, the better
option is to signal an error, which can then in turn trigger the
debugger depending on debug-on-error and such).
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Watchpoints for emacs lisp.,
Stefan Monnier <=