Hello list,
I'm running SBCL 1.0.4.109 on a Mac Book Pro.  Since threading is not
working properly with this SBCL variant yet, I am not running Slime in
thread mode.  So my Slime connection uses:
CL-USER> (swank::preferred-communication-style)
:FD-HANDLER

Lets take the recursive-rects example.  When I run this, I get a
window with the correct output, but I cannot use Slime to break into
the running Lisp image.  I'm assuming this is because the :FD-HANDLER
communication mechanism isn't getting a chance to run.  My attempted
fix is to change the :IDLE event
(:idle () (sb-sys:serve-all-events 0) (sdl:update-display))

My understanding is that SERVE-ALL-EVENTS should basically do a
select() on all file descriptors that have callbacks - ie this should
let Slime break into the running app.

My questions:
1) Am I doing sensible things?
2) Does anybody else use SDL + Slime in :FD-HANDLER mode?

Cheers,
Brad
_______________________________________________
application-builder mailing list
application-builder@lispniks.com
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to