libera/#commonlisp - IRC Chatlog
Search
6:14:04
phantomics_
Question: Is there an SBCL function that will return the current call stack? I.e. the stack of the current invocation of the function that the tracing function is called within
6:33:38
phantomics_
Here's what I get from one element in the call stack: #<DISSECT::SBCL-CALL [7] (LAMBDA (I) IN INDEXER-OF) | /home/user/src/lisp/april/varray/varray.lisp>
6:34:33
phantomics_
The problem is, INDEXER-OF is a method that belongs to many different classes. Is there a way to determine which class this specific indexer-of applies to?
7:51:08
artchad
Hey, I have a sbcl image running on a server. In order to connect to that repl I need a swank server running inside that image. So I do `(require:swank)' and `(swank:create-server)'. But after some time the swank server is no longer accessible. It just closes the port. Is that the default behaviour?
7:52:46
artchad
How would I make sure to keep the swank server running for the whole time, because when I ssh into the box, I don't have direct access to the shell where the sbcl process is running. The only way to access that is via swank.
7:55:38
jackdaniel
you may also check swank::*communicatin-style* - if it is NIL then it is not possible to spawn new processes
8:03:37
artchad
well, the preferred-communication-style is :spawn. Maybe it will work now. I've closed the repl and restarted it.
8:50:55
pjb
phantomics_: don't ask implementation specific questions in #commonlisp! Go to #sbcl to get the sbcl specific answer, to #ecl for the ecl specific answer, to #ccl for the ccl specific answer, to #abcl for the abcl specific answer, etc.