[Top][All Lists]

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

Re: Debug lisp code

From: David Kastrup
Subject: Re: Debug lisp code
Date: Mon, 29 Aug 2005 20:35:40 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Michael Cadilhac <address@hidden> writes:

>   Hi !
>   I've some kind of a freeze  in a function being a process filter. My
>   problem is  that I can't figure  out where the infinite  loop is and
>   it's a random thing, so I can't use debug-on-entry.
>   This function not being called by the user, C-g is not canceling it,
>   so set debug-on-quit to t is useless.
>   So, is there a way to debug things like
>   (run-with-idle-timer 1 nil (lambda () (while t)))
>   ?

(run-with-idle-timer 1 nil (lambda nil (let (inhibit-quit)
  (while t))))

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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