Liking cljdoc? Tell your friends :D

cider.nrepl.middleware.enlighten

Instrument user code to "light up" when it runs. The instrumented code will report the value of local variables and report its return value. Implemented as an extension of the debugger.

Instrument user code to "light up" when it runs.
The instrumented code will report the value of local variables and
report its return value.
Implemented as an extension of the debugger.
raw docstring

eval-with-enlightenclj

(eval-with-enlighten form)

Like eval, but also enlighten code.

Like `eval`, but also enlighten code.
sourceraw docstring

handle-enlightenclj

(handle-enlighten h {:keys [op enlighten] :as msg})
source

light-formcljmacro

(light-form form {:keys [coor] :as extras} original-form)

Return the result of form, and maybe enlighten it.

Return the result of form, and maybe enlighten it.
sourceraw docstring

light-readerclj

(light-reader form)
source

pr-very-shortclj

(pr-very-short val)
source

send-if-localclj

(send-if-local sym extras locals)

If locals contains sym, send its value over the debug channel. The value is added to extras under :debug-value, and extras is sent over the debug channel with the :enlighten status.

If locals contains sym, send its value over the debug channel.
The value is added to `extras` under :debug-value, and `extras` is
sent over the debug channel with the :enlighten status.
sourceraw docstring

wrap-function-formclj

(wrap-function-form [head & args :as form] {:keys [coor] :as extras})

Wrap a form representing a function/macro/special-form call. Return an equivalent form, instrumented to work with enlighten.

Currently this only instruments forms that could run several times in a single evaluation. This is necessary so that the client can clean-up overlays from previous evaluations.

Wrap a form representing a function/macro/special-form call.
Return an equivalent form, instrumented to work with enlighten.

Currently this only instruments forms that could run several times
in a single evaluation. This is necessary so that the client can
clean-up overlays from previous evaluations.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close