Re: Trouble connecting to Swank running on android

PR <[email protected]> Fri, 25 Aug 2017 14:25:14 +0200
Newsgroups gmane.lisp.slime.devel
Message-ID <CAOJeB-CzWAj4e9JyJxomK8hS3WNTSrGRTC_ufvu_txu49MQAvQ@mail.gmail.com>
2017-08-24 19:41 GMT+02:00, PR <[email protected]>:
> As soon as I get some new and useful information, I will update you, of
> course.

ok, I could track it down: the error happens in function
'swank::simple-repl', in

  '(handler-case (read) ...'.

I added a form '(error (err) ...', in order to print the error, and it says:

  #<a SWANK::END-OF-REPL-INPUT>

  "Unexpected end of file on #<input file "stdin">

Any hint what I could try next? Thanks.


>> If that doesn't help, then perhaps try to sprinkle
>> swank::simple-serve-requests and swank::with-connection (maybe define
>> your own version of with-connection because that's used elsewhere,
>> namely in the REPL) with breaks and/or traces to see where it's
>> failing.
>>
>> BTW, it now occurs to me that you have a working REPL because
>> swank-repl.lisp opens a dedicated socket for REPL requests.
>>
>> Cheers,
>> Luís
>>
>