figwheel

general discussion about figwheel, specific discussions in #figwheel-main and #lein-figwheel
2017-02-10T14:56:48.000251Z

looking for pointers on how to debug a cryptic “eval timed out, stack trace unavailable” error for my figwheel repl running in cursive. any pointers on how to go about debugging that?

2017-02-10T15:03:49.000253Z

my repl seems to choke up for whatever reason, after a certain point won’t finish evaluating even simple forms like (def test “hello”)

2017-02-10T15:05:38.000254Z

on figwheel/sidecar 0.5.9 if that helps at all

2017-02-10T15:13:50.000255Z

issue seems to be from trying to evaluate any calls to cljs.spec.test/instrument or cljs.spec.test/test, which then chokes up the repl and makes every successive call (to instrument/test or not) time out

Oliver George 2017-02-10T22:02:59.000257Z

In the past I've seen figwheel choke on serialising very large amounts of data. One technique of used is to wrap (do ... nil) around.

Oliver George 2017-02-10T22:03:45.000258Z

Typical case it came up was doing swap! On a complex app atom as part of some debugging.

Oliver George 2017-02-10T22:08:51.000259Z

Actually come to think in my experience, spec.test in the browser can be computational intensive enough to trigger the browsers defence mechanisms too

Oliver George 2017-02-10T22:10:07.000260Z

I'm some of my experiments. I put it down to complex generators which produced nested data... Collections of maps…

2017-02-10T22:15:01.000262Z

yep that sounds very similar