Check valuables when ClozureCL Debugger launched
Running some functions on ClozureCL, errors are sometime happened and debugger is launched like below.
? (defvar *global* 99999) *GLOBAL* ? (format t *global*) > Error: The value 99999 is not of the expected type STRING. > While executing: ENSURE-SIMPLE-STRING, in process listener(1). > Type :POP to abort, :R for a list of available restarts. > Type :? for other options. 1 >
At this point, type :R shows stack trace, I wrote about this in this article. But, there are something can be tried at this time.
I would like to check the valuables when some errors would be happened, maybe not only me. ClozureCL Debugger can help checking the valuables with using some output functions like princ.
1 > (princ *global*) 99999 99999 1 >
And debugger accepts retry function which is fixed something.
1 > (format t "~A~%" *global*) 99999 NIL 1 > q ?