List Info

Thread: Attaching to a running CMUCL process




Attaching to a running CMUCL process
user name
2006-11-04 01:32:07
Larry Clapp writes:
 > On Tue, Oct 31, 2006 at 09:20:58PM -0500, Larry Clapp
wrote:
 > > On Tue, Oct 31, 2006 at 08:43:32PM -0500, Denis
Papathanasiou wrote:
 > > > What I'd really like to be able to do is
just start a new CMUCL
 > > > process, and, with some command (which I'm
not sure even exists) ,
 > > > access the top-level of another CMUCL
process, using its process
 > > > id.
 > > > 
 > > > Do you know of any way to do that?
 > > 
 > > I do not, no.
 > 
 > Actually, I take it back.  Has anyone mentioned that
you can connect
 > and disconnect multiple times with Slime?  I believe
you can configure
 > the Lisp-side Swank process to run in a separate
thread, but even if
 > it can't or you can't for some reason, you could
probably replicate
 > the attach/detach tty functionality, and have all of
Slime, too.  Just
 > a thought; I'm not really that familiar with Slime,
much less doing
 > this sort of thing with it.  Check with the Slime
folks.

This is how we deliver all our applications.  We dump a core
with
swank in the image, and start that on our client machines
under
detachtty.  If we need to take a quick peek at something, we
use
attachtty to connect to the repl, and if there's something
involved,
we use slime to connect to the swank server.

It's all started as root from /etc/init.d with su.

I could provide details or even a simplified version of our
setup if
it would help.

Regards,

Craig Ludington

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )