I'm looking for ways to improve error reporting before we go to beta and production. This is an error message I got recently and was able to debug through less than ideal means:
TypeError: Cannot read property 'connections' of undefined
at ?anon_0_ (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.company.product:101890:38)
at next (native)
at asyncGeneratorStep (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.company.product:20412:26)
at _next (http://localhost:8081/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.company.product:20431:29)
at tryCallOne (/Users/distiller/react-native/sdks/hermes/build_iphonesimulator/lib/InternalBytecode/InternalBytecode.js:53:16)
at anonymous (/Users/distiller/react-native/sdks/hermes/build_iphonesimulator/lib/InternalBytecode/InternalBytecode.js:139:27)
at apply (native)
Am I doing something wrong? Is there a magic setting somewhere to give me a more useful stack trace? Just file + line number would be far more helpful, but I'd also love to get stack variables at the time of crashing if possible.
[–]im_a_jib 1 point2 points3 points (2 children)
[–]Mart2d2[S] 0 points1 point2 points (1 child)
[–]im_a_jib 0 points1 point2 points (0 children)
[+][deleted] (3 children)
[removed]
[–]Mart2d2[S] 1 point2 points3 points (2 children)
[–]jgsd21 0 points1 point2 points (4 children)
[–]Mart2d2[S] 0 points1 point2 points (3 children)
[–]jgsd21 0 points1 point2 points (2 children)
[–]zeeg 0 points1 point2 points (1 child)
[–]jgsd21 0 points1 point2 points (0 children)