This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-21
Channels
- # aws (2)
- # bangalore-clj (14)
- # beginners (20)
- # boot (20)
- # cider (7)
- # cljs-dev (38)
- # cljsrn (13)
- # clojure (487)
- # clojure-argentina (3)
- # clojure-dev (15)
- # clojure-gamedev (4)
- # clojure-italy (3)
- # clojure-poland (1)
- # clojure-russia (1)
- # clojure-spec (25)
- # clojure-uk (47)
- # clojurescript (127)
- # datomic (125)
- # defnpodcast (1)
- # hoplon (27)
- # jobs (4)
- # lein-figwheel (2)
- # leiningen (1)
- # luminus (5)
- # off-topic (3)
- # om (25)
- # onyx (9)
- # parinfer (3)
- # pedestal (20)
- # planck (65)
- # re-frame (43)
- # reagent (4)
- # remote-jobs (1)
- # ring-swagger (2)
- # rum (9)
- # spacemacs (1)
- # unrepl (37)
- # vim (1)
I've made GUI lighttable plugin for re-natal. It is tested only on Mac and have issues but generally works. https://github.com/okilimnik/renatal-lt-plugin
Has anyone seen any work being done for getting actual stack traces from cljsrn errors?
I s'pose one does get useful ones occasionally, but often the errors happen in MessageQueue or JSTimers or something else unhelpful.
@jeaye This might be useful: Enable “Debug JS Remotely,” (have things run in Chrome), and then if you have enabled source maps (in re-natal
, done using enable-source-maps
option), you can get it to stop at the point you throw, say an ex-info
, and it will show your ClojureScript source in Chrome.
@mfikes Hm, so I typically run in the Android emulator. You're saying I can still do that, but via Chrome?
I assume so. The idea is that the JavaScript is decoupled from the native layer via the bridge, and if you bring up what is equivalent to iOS’s “shake gesture” on Android, I would expect you go get a menu that lets you activate “Debug JS Remotely”. For the iOS simulator, it transparently shifts its execution into Chrome and it talks to the simulator over the wire.
They mention something about Android at the bottom of https://facebook.github.io/react-native/docs/debugging.html
Chromium is the open source browser upon which Chrome is built, without all the proprietary Google bits. 🙂 I can look up the source map stuff for it though. Thanks for the info.
Figured out it's figwheel causing some odd issue https://upload.jeaye.com/tmp/figwheel-error.png