[slime-devel] swank:*sldb-printer-bindings* binding *print-lines* to 10

Tobias C. Rittweiler tcr at freebits.de
Sun Jan 4 16:27:41 UTC 2009


Is there a particular reason why SWANK:*SLDB-PRINTER-BINDINGS* binds
*PRINT-LINES* to 10 instead of NIL?

This truncates error messages in many cases, for example:

  The value
    #S(SB-C::DEBUG-SOURCE
       :NAMESTRING "/tmp/file7pJ3qL.lisp"
       :CREATED 3440074405
       :SOURCE-ROOT 0
       :START-POSITIONS #(0)
       :FORM NIL
       :FUNCTION NIL
       :COMPILED 3440074405
       :PLIST (:EMACS-BUFFER "foo.lisp" :EMACS-DIRECTORY "/tmp/" ..))
     [Condition of type TYPE-ERROR]

The most interesting piece of that error message (the expected type) is
left out which is unfortune. (Using `C' to inspect the condition works
for this particular case, but does not necessarily work to retrieve the
crucial information in the general case.)

  -T.





More information about the slime-devel mailing list