(new-break :inspect *current-inspect*)
(reset-stack)
(setf (inspect-object-stack *current-inspect*) (list object))
- (setf (inspect-parent-stack *current-inspect*) (list "(inspect ...)"))
+ (setf (inspect-parent-stack *current-inspect*)
+ (list (format nil "(inspect ~S)" object)))
(%inspect output-stream))
(cond ((eq value *inspect-unbound-object-marker*)
(format output-stream "That slot is unbound~%"))
(t
- (push value stack)
+ (push value (inspect-object-stack *current-inspect*))
(push option-read (inspect-parent-stack *current-inspect*))
(%inspect output-stream)))))
((null elements)
;; Default is to select eval'd form
(t
(reset-stack)
- (setf (inspect-object-stack *current-inspect*) (list (eval option-read)))
- (setf (inspect-parent-stack *current-inspect*) (list ":i <form>"))
+ (let ((object (eval option-read)))
+ (setf (inspect-object-stack *current-inspect*) (list object))
+ (setf (inspect-parent-stack *current-inspect*)
+ (list (format nil ":i ~S" object))))
(set-break-inspect *current-inspect*)
(%inspect output-stream))
)))
;;; versions, especially for internal versions off the main CVS
;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"0.pre8.51"
+"0.pre8.52"