Re: getting inside another dynamic scope?
(Sorry, I'll read this first http://clojure.org/vars#Vars%20and%20the%20Global%20Environment) -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: getting inside another dynamic scope?
Clojure doesn't provide any mechanism to peek inside other threads. Dynamic Var bindings create java.lang.ThreadLocal objects to store the temporary bindings. A Java debugger or IDE *might* let you look at those. -S -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
getting inside another dynamic scope?
Is there a way (without swank-cdt) to get inside some other dynamic scope that's blocked in order to evaluate some arbitrary code? Let's say a thread has paused waiting for some UI input. Earlier a dynamic var binding happened. You know the name of that var ... you know that thread is waiting ... you want to get at the value inside that binding... and either swank-cdt doesn't yet work in your environment or you didn't set a breakpoint. Is it possible to get at it? Or is that just too shady? Since I'm not interested in concurrency I could go the ugly way and see what happens if I use def instead of binding. Ugly is always at my right hand. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en