This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-30
Channels
- # announcements (12)
- # babashka (25)
- # biff (30)
- # cherry (34)
- # cider (46)
- # clj-kondo (23)
- # clojure (37)
- # clojure-berlin (6)
- # clojure-europe (12)
- # clojure-nl (4)
- # clojure-norway (6)
- # clojure-uk (2)
- # clojurescript (8)
- # conjure (1)
- # cursive (4)
- # data-science (11)
- # datalevin (12)
- # datascript (15)
- # emacs (2)
- # events (1)
- # fulcro (14)
- # graalvm (16)
- # gratitude (23)
- # honeysql (11)
- # jobs (2)
- # jobs-discuss (14)
- # kaocha (1)
- # leiningen (8)
- # nbb (45)
- # off-topic (7)
- # portal (8)
- # re-frame (9)
- # releases (2)
- # shadow-cljs (24)
- # squint (5)
- # tools-build (17)
- # tools-deps (7)
- # vim (5)
I see an error in the console every time I save my CSS file - CSS reloading used to work for me, so I'm not quite sure what this means. I'm using shadow-cljs version 2.19.9, and the error I get any time I save my CSS file is:
I don't know much about debugging in shadow-cljs but I'm not really able to get a breakpoint to stop there ...
Ok - I fixed it by removing:
:preloads [shadow.remote.runtime.cljs.browser]
from :devtools
which I believe was given as a workaround for some other issue at some point in the distant past.
https://github.com/thheller/shadow-cljs/blob/master/src/main/shadow/remote/runtime/cljs/browser.cljs
although it still exists as an empty namespace. so not sure how that would be causing any issues?
is this the best wild effort at demunging for shadow-cljs? https://github.com/binaryage/cljs-devtools/blob/master/src/lib/devtools/munging.cljs
what is that supposed to do? I mean are you trying to do that would require demunging?
in development I'm trying to reconstruct partial function call stacks so that I can trace a complex library that I'm struggling to understand
so (.-callee (js-arguments)) is cool but it would be cooler if I could demunge the names
maybe, I don't really understand source maps, are they accessible/useful outside of chrome devtools? where should I read
does source map have (clojure symbol from) (javascript symbol to) correspondences in a format I can digest in the REPL?
sorry I come from python/c# not web tech so my understanding of all this has some gaps
that might have been a stupid question, the answer I'm pretty sure is "yes", a better question might be if there's a useful example or library in clojurescript for parseing these .map files?
> in development I'm trying to reconstruct partial function call stacks so that I can trace a complex library that I'm struggling to understand @zimablue maybe https://github.com/jpmonettas/flow-storm-debugger can help you there, you will have to add #trace tags to every form you are interested in but then you can use all the debuggers functionality, specially https://jpmonettas.github.io/flow-storm-debugger/user_guide.html#_call_stack_tree_tool
I'm not trying to step through it though, more like run an extended test with specific functions decorated and then poke around the generated data