[slime-devel] Re: Problem with truncation of strings in debugger

Helmut Eller heller at common-lisp.net
Wed Sep 24 07:07:36 UTC 2008


* Jeff Workman [2008-09-22 01:14+0200] writes:

> When I evaluate (format t "~A" (some-str-function)) on a longish string
> in debugger with E, the string is printed truncated, which seems like
> the wrong behavior to me.
>
> Also, surprisingly when I evaluate (setf *str* (some-str-function)) from
> debugger, the string stored in *str* is truncated as well.
>
> That suggests to me that the debugger is modifying the behavior of
> (format nil ...) or other functions I use in constructing strings used
> internally in my program, which would obviously be very bad and could
> interfere with operation of the program.

*print-lines* is 10 in the debugger.  You can customize that
by modifying swank:*sldb-printer-bindings*.

Helmut.




More information about the slime-devel mailing list