Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. (defun hunchentoot::get-backtrace ()
  2. "Returns a string with a backtrace of what the Lisp system thinks is
  3. the \"current\" error."
  4. (handler-case
  5. (with-output-to-string (s)
  6. (let ((*print-length* 80))
  7. (trivial-backtrace:print-backtrace-to-stream s)))
  8. (error (condition)
  9. (format nil "Could not generate backtrace: ~A." condition))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement