Fork me on GitHub
#cljsrn
<
2019-06-27
>
xfyre09:06:17

Is there any way to make React Native stack traces more usable with ClojureScript? Debugging any exception is extremely painful - there seems to be absolutely no way to precisely locate the error. I have cljs-devtools installed.

danielneal09:06:43

The trick is to enable remote debugging in chrome, and then put "pause on caught exceptions on"

danielneal09:06:13

if you've got sourcemaps, that should take you to the exact line

xfyre09:06:23

interesting, let me try that

xfyre11:06:05

didn’t have my next exception yet 🙂

danielneal11:06:14

you can pre-emptively test it with a throw...

danielneal11:06:31

sometimes you need to skip through caught exceptions in the innards of the framework, too