X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fntrace.lisp;h=b4ca56b703a19722bd841193c770d9839b591e8d;hb=85483d976cc2d779493985f77f39efefb2ea622b;hp=ded1ab7dc0424c37744b7be83edde2c9ac69f7c8;hpb=4898ef32c639b1c7f4ee13a5ba566ce6debd03e6;p=sbcl.git diff --git a/src/code/ntrace.lisp b/src/code/ntrace.lisp index ded1ab7..b4ca56b 100644 --- a/src/code/ntrace.lisp +++ b/src/code/ntrace.lisp @@ -265,12 +265,14 @@ ;; with DEFVAR. (locally (declare (special basic-definition arg-list)) - (prin1 `(,(trace-info-what info) ,@arg-list))) + (prin1 `(,(trace-info-what info) + ,@(mapcar #'ensure-printable-object arg-list)))) (print-frame-call frame *standard-output*)) (terpri) (trace-print frame (trace-info-print info)) (write-sequence (get-output-stream-string *standard-output*) - *trace-output*)) + *trace-output*) + (finish-output *trace-output*)) (trace-maybe-break info (trace-info-break info) "before" frame))) (lambda (frame cookie) @@ -307,11 +309,12 @@ (dolist (v *trace-values*) (write-char #\space) (pprint-newline :linear) - (prin1 v))) + (prin1 (ensure-printable-object v)))) (terpri) (trace-print frame (trace-info-print-after info)) (write-sequence (get-output-stream-string *standard-output*) - *trace-output*)) + *trace-output*) + (finish-output *trace-output*)) (trace-maybe-break info (trace-info-break-after info) "after"