开发者

Slime: frame-source-location not implemented / is my sldb Backtrace output normal?

I'm debugging my (Common) Lisp code in Slime tied to clisp.

When the debugger generates the Backtrace it's my understanting that I can hit 'v' on a frame to take me to the source.

开发者_开发技巧

However, when I do this on the any frame I get:

frame-source-location not implemented

Is this expected, am I missing anything?

Edit1: In addition every single frame has "No Locals", is this to be expected too?

Edit2: In fact, the whole backtrace output is pretty unintelligible. I'm new to Lisp, so I wasn't initially sure if this was expected or not - but I'm attaching a screenshot, hopefully someone can confirm for me if this looks 'normal':

Slime: frame-source-location not implemented / is my sldb Backtrace output normal?

Edit3 I'm guessing this is related


Since posting the question I have found this link which seems to indicate the Slime and clisp integration is not quite working as it should be.

So, in the meantime I have installed Steel Bank Common Lisp (sbcl), as easy as (on Ubuntu/Debian)

sudo apt-get install sbcl

and configured Slime to use that instead of clisp:

Snippet of my .emacs file:

;;; Lisp (SLIME) interaction 
;;(setq inferior-lisp-program "clisp") 
(setq inferior-lisp-program "sbcl")

This results in more pleasant debug output:

Slime: frame-source-location not implemented / is my sldb Backtrace output normal?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜