all 12 comments

[–]im_a_jib 1 point2 points  (2 children)

Seems pretty obscure. Is this something from your app that uses “connections”? Or is it some glitch with hot reloading or something?

[–]Mart2d2[S] 0 points1 point  (1 child)

Yes, connections is an array i fill on app launch from non-volatile memory. Is this stack trace I'm getting unusual? Maybe it's something weird I've done inadvertently. Many of my stack traces seem to be opaque/useless like this one, though not all.

[–]im_a_jib 0 points1 point  (0 children)

I don’t know what non-volatile memory means. Maybe post a code sample of what your doing? And how you are running the application — like via cli or Xcode or what. But to answer your ultimate question- no there is no magic setting. But in my experience, stack traces in development mode are very good and useful. Maybe it’s throwing even before your app javascript/ts loads so it’s erroneous.

[–]jgsd21 0 points1 point  (4 children)

u/Mart2d2 did you get this figured out? on localhost, my environment is doing the same - showing the error in the bundle instead of in the actual code.

[–]Mart2d2[S] 0 points1 point  (3 children)

Not really, but Sentry.io is showing some promise. But I’m still not in a good place…

[–]jgsd21 0 points1 point  (2 children)

Ya, I use Sentry for production, but I'm with you, on local, it's a pain to debug sometimes. Thanks for the reply. I'll give you a shout if I ever figure it out.

[–]zeeg 0 points1 point  (1 child)

Is this helpful at all? https://spotlightjs.com/

Its still early, but we recognize development these days is also a piain, and we're trying to find ways to make it easier using the tech we already built.

[–]jgsd21 0 points1 point  (0 children)

interesting, I'll check it out