Codebase list cafeobj / 3a155d8
Fix misunderstood effects of *break-on-start* tswd 5 years ago
1 changed file(s) with 1 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
162162 (*break-on-signals* nil)
163163 #+:sbcl (sb-ext:*invoke-debugger-hook* nil))
164164 (when *cafeobj-batch*
165 (setf *break-on-signals* t)
166165 (setf *debugger-hook* #'(lambda (condition hook)
167166 (declare (ignore hook))
168167 (let ((*print-escape* t))
174173
175174 (defun process-cafeobj-with-restart ()
176175 (let ((quit-flag nil))
177 (if #+(and :sbcl :win32) t
178 #-(and :sbcl :win32) *development-mode*
176 (if *development-mode*
179177 ;; in development mode, we jump into 'debugger' of the underlying system
180178 (with-simple-restart (quit "Quit CafeOBJ.")
181179 (loop
188186 (let ((*debugger-hook* nil)
189187 (*break-on-signals* nil)
190188 #+:sbcl (sb-ext:*invoke-debugger-hook* nil))
191 (setf *break-on-signals* t)
192189 (setf *debugger-hook* #'(lambda (condition hook)
193190 (declare (ignore hook))
194191 (let ((*print-escape* t))