Page 1 of 1

Redirecting Error Output

Posted: Mon Dec 28, 2009 10:01 am
by Suroy
Im attempting to debug slime for ecl on windows and one of the possibilities that it is failing is that the sending side somehow throws an error which prevents slime from completly reading the stream. So i would like to redirect error outputs on ecl to a text file. I tried (setf *error-output* (open "afile.txt")) but when an error is thrown it throws some internal error and ecl closes. Anyone know how i can do this? :o

Re: Redirecting Error Output

Posted: Mon Dec 28, 2009 11:02 am
by Kompottkin
I'm only guessing here, but possibly it's because OPEN opens a file for reading by default and you didn't specify the direction.

Re: Redirecting Error Output

Posted: Thu Dec 31, 2009 6:57 am
by Suroy
Tried opening a bidirectional stream in clozure and it didn't even do anything... besides open a create the file..

Re: Redirecting Error Output

Posted: Wed Jan 06, 2010 6:40 am
by blandest
Check the *inferior-lisp* Emacs buffer for errors.