[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recover-session doesn't

From: Eli Zaretskii
Subject: Re: recover-session doesn't
Date: Thu, 1 Aug 2002 08:26:33 +0300 (IDT)

On Wed, 31 Jul 2002, Edward Welbourne wrote:

> > Could you try stepping through the command recover-session-finish
> > and see why it did not ask you about the files?
> I'd be happy to, next time I'm trying to recover a session (I tidied
> away the previous recovery file once I'd hand-loaded the buffers it
> told me I'd had open).  Is this stepping through elisp execution in
> the elisp debugger ?


> How do I do that ?

Please read the "Debugger" node of the ELisp manual, it explains how to 
use the ELisp debugger called Edebug.

In a nutshell, you instrument the function you want to debug with 
edebug-defun, then use Edebug commands to step through the code.

> I take it I
> then set a break point on recover-session-finish, before invoking
> recover-session ?

No, you simply instrument only recover-session-finish.  Then, when it's 
called, Edebug will kick in automatically.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]