1.2.0 permalink Arrow_down_16x16

cause-restart-for

swank.core

  • (cause-restart-for thrown depth)

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/core.clj:141 top

(defn cause-restart-for [thrown depth]
  (make-restart
   (keyword (str "cause" depth))
   (str "CAUSE" depth)
   (str "Invoke debugger on cause "
        (apply str (take depth (repeat " ")))
        (.getMessage thrown)
        " [Thrown " (class thrown) "]")
   (partial sldb-debug nil thrown *pending-continuations*)))
Vars in swank.core/cause-restart-for: apply class defn keyword partial repeat str take
Used in 0 other vars

Comments top

No comments for cause-restart-for. Log in to add a comment.