Common Lisp Debugging: Essential Tips and Techniques

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.ค. 2023
  • You are in front of some software written in Common Lisp that doesn't behave as expected... How can you understand what is wrong?

ความคิดเห็น • 14

  • @vindarel
    @vindarel 11 หลายเดือนก่อน +8

    Cool! To compile the function with max debug settings, there is also a handy Slime shortcut: C-u C-c C-c.

    • @the-lisper
      @the-lisper  11 หลายเดือนก่อน +1

      Thanks for sharing!

  • @kensan73
    @kensan73 9 หลายเดือนก่อน +3

    Wow I needed this 10+ years ago when I was taking a common lisp class. (I don't know how I got any of the programs working with just printing!)

    • @the-lisper
      @the-lisper  9 หลายเดือนก่อน

      I had been using print for a long time, and it works. But yes, the right setup really shows you what lisp can offer! Maybe, nowadays, it is easier, there are more tutorial/books and pre-configured environments (like portacle).

  • @jacekjacenty
    @jacekjacenty 11 หลายเดือนก่อน +1

    Thank you for the nice explanation.

    • @the-lisper
      @the-lisper  11 หลายเดือนก่อน +1

      You're welcome! 😊

  • @raba2d723
    @raba2d723 9 หลายเดือนก่อน

    awesome, can this be used with elisp?

    • @the-lisper
      @the-lisper  9 หลายเดือนก่อน +2

      No, you cannot directly, those features are quite specific to common lisp.

    • @raba2d723
      @raba2d723 9 หลายเดือนก่อน

      great thanks!

  • @freddief939
    @freddief939 6 หลายเดือนก่อน

    Looks like Slime doesn't work with Emacs 29 without manually adding some legacy functions to your init.el

    • @the-lisper
      @the-lisper  6 หลายเดือนก่อน +1

      I am still on Emacs 28, so I haven't dealt with it. If it doesn't get fixed, I may do a video about it in the future, like a fresh install using a VM!

    • @freddief939
      @freddief939 6 หลายเดือนก่อน

      @@the-lisper sly is also available. :)

    • @the-lisper
      @the-lisper  6 หลายเดือนก่อน +1

      Yes, it has become my go to choice (as you can see in more recent videos)! :^)
      The idea of the first videos was to show the usage of portacle!

    • @SynchronizedRandomness
      @SynchronizedRandomness หลายเดือนก่อน +2

      Sly worked out of the box for me, and had the same features.