vvvvalvalval / scope-capture

Project your Clojure(Script) REPL into the same context as your code when it ran
MIT License
573 stars 14 forks source link

Not getting local-bindings as expected. #47

Open drewverlee opened 1 year ago

drewverlee commented 1 year ago

I followed the instructions in the detailed tutorial and i'm not getting the local bindings.


(sc.api/ep-info 8)
;; => {:sc.ep/code-site {:sc.cs/column 9,
;;                       :sc.cs/dynamic-var-names nil,
;;                       :sc.cs/expr (*
;;                                    2
;;                                    earth-radius
;;                                    (.
;;                                     Math
;;                                     asin
;;                                     (.
;;                                      Math
;;                                      sqrt
;;                                      (+
;;                                       (haversine (- phi2 phi1))
;;                                       (*
;;                                        (. Math cos phi1)
;;                                        (. Math cos phi2)
;;                                        (haversine (- lambda2 lambda1))))))),
;;                       :sc.cs/file "/home/drewverlee/aws/playground/src/drewverlee/aws/playground.clj",
;;                       :sc.cs/id -12,
;;                       :sc.cs/line 143,
;;                       :sc.cs/local-names []},
;;     :sc.ep/dynamic-var-bindings {},
;;     :sc.ep/id 8,
;;     :sc.ep/local-bindings {},
;;     :sc.ep/value 0.0}

What can i check? what you help you help me here? I'm on the latest version, using deps.