Slime:帧源位置未实现/我的 sldb Backtrace 输出正常吗?
我正在调试与 clisp 相关的 Slime 中的(通用)Lisp 代码。
当调试器生成回溯时,我知道我可以在帧上点击“v”以将我带到源代码。
然而,当我在任何框架上执行此操作时,我得到:
frame-source-location not implemented
这是预期的吗?我错过了什么吗?
Edit1:另外每一帧都有“No Locals”,这也是预料之中的吗?
Edit2:事实上,整个回溯输出非常难以理解。我是 Lisp 新手,所以我最初不确定这是否是预期的 - 但我附上了一张屏幕截图,希望有人可以帮我确认这是否看起来“正常”:
Edit3 我猜这是相关的
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':
Edit3 I'm guessing this is related
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
自从发布问题以来,我发现此链接< /a> 这似乎表明 Slime 和 clisp 集成并没有达到应有的效果。
因此,与此同时,我已经安装了 Steel Bank Common Lisp (sbcl),就像(在 Ubuntu/Debian 上)一样简单,
并将 Slime 配置为使用它而不是 clisp:
我的 .emacs 文件的片段:
这会产生更令人愉快的调试输出:
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)
and configured Slime to use that instead of clisp:
Snippet of my .emacs file:
This results in more pleasant debug output: