DEV Community

vindarel
vindarel

Posted on

Debugging Common Lisp: fix a bug and resume execution from where it stopped

Hi lispers on dev.to o/

Let's add some Common Lisp content out there shall we?

I recently made a little screencast that shows a really great feature of Common Lisp, one not easy to discover, nor to imagine its mere possibility.

When you get dropped into the interactive debugger because an error occurred in your code, you can fix the bug, re-compile the erroneous function (yes, one function) and resume the execution from where it stopped, without re-running everything from zero! It's just an awesome productivity boost.

This shows you how to do:

Yes, we use this everyday.

As a consequence, this is the workflow difference between a lambda language and Common Lisp:

See you!


Top comments (0)