Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maximum debug info from Steel Bank Common Lisp & Slime

What's the best way to initialise a Lisp session (I'm using Slime and sbcl) such that functions are always compiled with the maximum amount of debug information?

like image 640
Joel Avatar asked Jan 09 '11 10:01

Joel


People also ask

How does SBCL work?

SBCL provides a recursive event loop ( serve-event ) for doing non-blocking IO on multiple streams without using threads. SBCL allows restricting the execution time of individual operations or parts of a computation using :timeout arguments to certain blocking operations, synchronous timeouts and asynchronous timeouts.

How do I run SBCL?

To run SBCL, type "sbcl". After startup messages a prompt ("*") appears. Enter a Lisp expression, and SBCL will read and execute it, print any values returned, give you another prompt, and wait for your next input. Most people like to run SBCL as a subprocess under Emacs.

What is SBCL Mac?

Steel Bank Common Lisp (SBCL) is a high performance Common Lisp compiler. It is open source / free software, with a permissive license.


1 Answers

(sb-ext:restrict-compiler-policy 'debug 3) in the repl or your .sbclrc will do it.

like image 173
Xach Avatar answered Nov 09 '22 14:11

Xach