[slime-devel] Re: Debugging "Lisp connection closed unexpectedly" events?

Helmut Eller heller at common-lisp.net
Tue Aug 5 07:12:41 UTC 2008


* Dave Roberts [2008-08-05 08:51+0200] writes:

> Any suggestions for where to start looking? My gut says that there is a
> particular character or something like that in the page that SWANK can't
> return over the channel to SLIME/Emacs. I'm not sure how to debug it,
> though, since SWANK kills the connection with extreme prejudice. Does
> SWANK create any sort of log file anywhere, or can I enable it to do so?

Yes, sounds like a character encoding problem.  Maybe using utf-8
would solve it.

There should be some error messages in the *inferior-lisp* buffer.  This
includes the condition, (sometimes) the backtrace, and the last few
exchanged messages.  Non-ascii chars are escaped with \xCODE.

If there's nothing in the *inferior-lisp* buffer, try to look at the
*slime-events* buffer or set swank:*log-events* to t.

Helmut.




More information about the slime-devel mailing list