TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Debugging Lisp (2015)

117 pointsby woobyover 4 years ago

3 comments

phoe-krkover 4 years ago
Warning: a bit of a shameless plug.<p>I have recently given an interview[0] for Immutable Conversations where I show some of the techniques described in these blogposts. In the video, inspect the state of the Lisp image, and I evaluate arbitrary code (redefining functions and variables) while not leaving the debugger. Perhaps HN can find this interesting, as it is a livecoding demonstration of how a Lisp programmer might make use of these techniques in real-life scenarios.<p>The examples are trivial and might be perhaps a bit too trivial for people used to programming, but the secondary point of the video was to demonstrate the livecoding techniques to people who possibly do not know Lisp whatsoever, and I didn&#x27;t want to burden them with complicated code examples. (The primary point was to describe the Common Lisp condition system, which I have written a book[1] about, and show the basics of control flow in Common Lisp that are the foundation of conditions.)<p>[0] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=pkqQq2Hwt5o" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=pkqQq2Hwt5o</a><p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24867548" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24867548</a>
aidenn0over 4 years ago
I now have a good place to link to when talking about lisp debugging being the killer feature that keeps me coming back to lisp as a language.<p>I usually get very confused responses when I say this, as people think &quot;single step through the code&quot; when I say &quot;debugger&quot; and I respond with something like &quot;I&#x27;m pretty sure there&#x27;s a way to step through the code in SLIME, but I never learned it because I&#x27;ve never had a need for that.&quot;<p>A quick skim through the series shows that the author feels the same way; there doesn&#x27;t seem to be a mention of SLDB&#x27;s stepper.
评论 #25664064 未加载
评论 #25668322 未加载
评论 #25671756 未加载
bcrosby95over 4 years ago
Realistically, how often do you need to redefine a class and care about having to restart your runtime?
评论 #25666319 未加载
评论 #25666420 未加载
评论 #25666410 未加载
评论 #25667940 未加载
评论 #25667250 未加载
评论 #25672134 未加载
评论 #25665013 未加载
评论 #25668853 未加载
评论 #25669547 未加载
评论 #25666558 未加载
评论 #25666513 未加载
评论 #25670220 未加载
评论 #25674250 未加载