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

Tobias C. Rittweiler tcr at freebits.de
Sun Jan 4 21:38:12 UTC 2009


Helmut Eller <heller at common-lisp.net> writes:

> * Tobias C. Rittweiler [2009-01-04 17:27+0100] writes:
>
>> Is there a particular reason why SWANK:*SLDB-PRINTER-BINDINGS* binds
>> *PRINT-LINES* to 10 instead of NIL?
>
> Some limit seems reasonable to stop the debugger from producing
> megabytes of output just for the error message.  Think of printing the
> contents of a bitvector.  10 is more or less arbitrary.  But what is the
> maximum length of good error message?

Ok, the problem is that 22.1.3.6 does not specify that printing of bit
vectors involves *PRINT-LENGTH*. The same is true for strings
(22.1.3.4.) We could, however, use custom pprint dispatch table entries
to do the necessary truncating for us.

If you don't mind going that route, I'll happily do the work.

   -T.





More information about the slime-devel mailing list