Frode Vatvedt Fjeld frodef@cs.uit.no writes:
Would it be possible, as a qick-and-dirty-hack, to poll some interrupt flag in the (swank?) IO stream glue such that clisp can be breaked at least if it emits some output? (Or perhaps even a once-a-second or so timer polling could be implemented?)
Hmm.. the patch below tests whether some input is available after sending something to Emacs. If so the input is processed immediately. So, typing `C-c : (break) RET' should give you a debugger the next time something is sent to Emacs. You also need to add
(setq swank:*use-dedicated-output-stream* nil)
to your ~/.swank.lisp. (Otherwise output is send to an extra stream for efficiency reasons.)
Has anyone tried to talk to the clisp people about having a break signal for a proper solution under win32?
Not that I know of.
Helmut.